Wednesday, 18 March 2009

Set default browser in Ubuntu

To set the default browser, use update-alternatives as shown below:



paul@dell1525:~$ sudo update-alternatives --config x-www-browser

There are 2 alternatives which provide `x-www-browser'.

Selection Alternative
-----------------------------------------------
1 /usr/bin/firefox-3.0
*+ 2 /usr/bin/seamonkey

Press enter to keep the default[*], or type selection number: 1
Using '/usr/bin/firefox-3.0' to provide 'x-www-browser'.


There is a good write-up of the update-alternatives system here.

0 comments:

Post a Comment