Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there an option to change my default browser for all my applications?

share|improve this question

4 Answers 4

up vote 34 down vote accepted

Have a look at your system-settings -> Details:

(Note that in older versions of Ubuntu Details is called System Info)

enter image description here

share|improve this answer
Thanks! The simple stuff is so elusive at times! –  Ederico Nov 14 '11 at 22:54
If that is the very good mark in your answer, done. –  Ederico Nov 15 '11 at 11:08
Wow, that's a pretty stupid place to put it! Almost as bad as having to go to "settings" to turn off your computer in Windows 8. –  Mike Dec 8 '13 at 0:25
in ubuntu 14.04 [cinnamon theme] navigate to System Settings > Preferred applications –  diEcho Jul 25 at 11:31

If your preferred browser isn't in that menu or you prefer doing it from the command line, this command will let you do the same thing as in fossfreedom's answer:

xdg-settings set default-web-browser name-of-browser.desktop


xdg-settings set default-web-browser firefox.desktop


xdg-settings set default-web-browser chromium-browser.desktop


xdg-settings set default-web-browser google-chrome.desktop
share|improve this answer

This is an ubuntu way of doing this

sudo update-alternatives --config x-www-browser
sudo update-alternatives --config gnome-www-browser
share|improve this answer
This is a system-wide change, and should be done in addition to fossfreedom's answer. –  Flimm Dec 11 '13 at 11:56
I tried all the answers here; only the second of these two lines changed the browser in which browser-external links (e.g. from Pidgin) opened. –  Stew Jun 25 at 15:57

You can also change your default browser in relevant browser setting.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.