Ubuntu – How to change the default browser

chromiumfirefoxinstant-messagingpidgin

Despite Chromium being set as my preferred web browser under "System Info", when I click a link in an IM window of Pidgin, it opens in Firefox. How do I make it so that links open in Chromium?

I am running:

  • Ubuntu 11.10
  • chromium-browser 14.0.835.202~r103287-0ubuntu1
  • pidgin 1:2.10.0-0ubuntu2

EDIT:

I also tried sudo update-alternatives --config x-www-browser and selected chromium (in both auto and manual mode), but after running sensible-browser & it still loads Firefox.

Chromium is also set to the default browser within the Chromium -> Preferences -> Default Browser panel.

Best Answer

If you are on a gnome system, gnome-www-browser is checked before x-www-browser, so you might have more luck changing this alternative with

sudo update-alternatives --config gnome-www-browser