e

Setting Default Applications

Sometimes you will want to change the default application that Bodhi uses to open a certain type of file. Doing so is easy. Open a terminal and enter the command:

sudo update-alternatives --all

This command will run through all the alternatives present on the system for different application choices. Where there is more than one choice update-alternatives will present a list for you to choose from. As in this example:

There are 2 choices for the alternative gnome-text-editor (providing /usr/bin/gnome-text-editor).

  Selection    Path              Priority   Status
------------------------------------------------------------
* 0            /usr/bin/gedit     50        auto mode
  1            /usr/bin/gedit     50        manual mode
  2            /usr/bin/leafpad   40        manual mode

The alternative that is already in use is shown with an asterisk, and to keep that one just press Enter. If you would like another choice, enter the appropriate number then press Enter.

To configure individual associations, you can enter that type individually with the command:

sudo update-alternatives --config --x-www-browser

The full list of alternative categories in listed in the /etc/alternatives/ directory.

As with all commands, the authoritative reference is

man update-alternatives

User Feedback

default_applications
Did you find this article helpful?
Yes, right on the money!
 
73%(11)
Somewhat. Needs work.
 
13%(2)
Not really
0%(0)
Not at all.
 
13%(2)

If you would like to comment or make further suggestions, please leave a note on our Comments page (you will have to Create an Account if you haven't already).


original article by Mark Strawser

 
default_applications.txt · Last modified: 2011/05/19 21:39 by rbtylee · [Old revisions]


© Copyright Bodhi Linux 2012. All Rights Reserved - Hosted by vaultnetworks