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

5 Answers 5

up vote 37 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
3  
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

E.g.:

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

or

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

or

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

Apart from some of the comments above, I would suggest following the top answer here. It involves changing the mimeapps/url schemes of your current user.

I had to use that solution to make linux Skype behave normally. Most other applications would use x-www-browser or gnome-www-browser but I guess they do have a point of using the URL Schemes; sometimes it has more sense.

share|improve this answer
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  Jan Sep 30 at 8:04
    
I thought this still answered the question for Skype for which as far as I know, the changes in the top answer don't influence how skype chooses the default application in all conditions. The answer is here to help users in case the first one does not. If this can be done by responding with comments to the first answer I will do just that. :) Thank you for the heads up! –  Adrian Castravete Sep 30 at 8:39

Your Answer

 
discard

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.