Ubuntu: How can I manually change the default web browser? [closed]



Question:

Firefox is not showing in system-settings - system info. So I cannot use the menu to choose it.

Is there a config file or something I can edit to make Ubuntu aware that Firefox exists on my system, and allow me to set it as my default browser?


Solution:1

Run in a terminal:

sudo update-alternatives --config x-www-browser  

The output should look like this:

There are 3 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser).      Selection    Path                       Priority   Status  ------------------------------------------------------------  * 0            /usr/bin/epiphany-browser   85        auto mode    1            /usr/bin/chromium-browser   40        manual mode    2            /usr/bin/epiphany-browser   85        manual mode    3            /usr/bin/firefox            40        manual mode    Press enter to keep the current choice[*], or type selection number: 3  update-alternatives: using /usr/bin/firefox to provide /usr/bin/x-www-browser (x-www-browser) in manual mode.  

Choose what you want to set as default.


Solution:2

The software centre version of Firefox has Ubuntu Firefox Modifications to enable it to work and integrate with Ubuntu better. The linux version you can download from Mozilla direct does not have this add on so that is likely the reason why you cannot integrate it into the system as you wish.

enter image description here

I guess your option here is to live with what you have or try and install the Ubuntu version and troubleshoot the issues with it.


Solution:3

I had problem with mozillateam ppa for firefox-stable.

This will do the trick

sudo add-apt-repository ppa:mozillateam/firefox-next  sudo apt-get update  sudo apt-get install firefox # (even if you have `firefox` installed)    

You will have the latest version of Firefox which is currently v 10.

Then try System Settings â†' System Info â†' Default Applications. There change the Web. Firefox must be there this time.


Solution:4

You can go to System Settings > System Info > Default Applications. There change the Web.


Solution:5

This doesn't precisely answer the question you asked, but should neatly side-step it and save you trouble in future, I hope:

Install the "official" firefox package from here: https://launchpad.net/~mozillateam/+archive/firefox-stable

Bacically, you just register the PPA in your machine's "software sources" and then install Firefox from the software centre (make sure it's refreshed its package list first), and you'll get the latest and greatest, and the updates will come automatically along with the rest of the packages.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »