Monday, September 3, 2012

Changing default browser in Gnome

In case you need to change the default browser in your Gnome environment;


najmi@vostro:~$ sudo update-alternatives --config gnome-www-browser
[sudo] password for najmi:
There are 3 choices for the alternative gnome-www-browser (providing /usr/bin/gnome-www-browser).

  Selection    Path                       Priority   Status
------------------------------------------------------------
* 0            /usr/bin/google-chrome      120       auto mode
  1            /usr/bin/chromium-browser   40        manual mode
  2            /usr/bin/firefox            40        manual mode
  3            /usr/bin/google-chrome      120       manual mode

Press enter to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/bin/firefox to provide /usr/bin/gnome-www-browser (gnome-www-browser) in manual mod
e.




List all

najmi@vostro:~$ sudo update-alternatives --config gnome-www-browser
There are 3 choices for the alternative gnome-www-browser (providing /usr/bin/gnome-www-browser).

  Selection    Path                       Priority   Status
------------------------------------------------------------
  0            /usr/bin/google-chrome      120       auto mode
  1            /usr/bin/chromium-browser   40        manual mode
* 2            /usr/bin/firefox            40        manual mode
  3            /usr/bin/google-chrome      120       manual mode

Press enter to keep the current choice[*], or type selection number:


Just enter to exit.

No comments:

Post a Comment