12

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?

Braiam
  • 67,791
  • 32
  • 179
  • 269
  • If the Ubuntu version of Firefox keeps crashing your system, you may want to file a bug against it on Launchpad so the developers are aware of the issue. – Knowledge Cube Feb 02 '12 at 11:28
  • I'll happily report a bug, but I don't know how helpful I could be with that. I don't know exactly what was causing the crashes, and I assume developers don't like bug reports without much detail. Since the whole system crashed, I guess it might be something to do with the way the system is interracting with Firefox, because if it were Firefox itself crashing then I'd suppose that it wouldn't take the whole system with it? – dunderhead Feb 02 '12 at 11:47
  • Some sort of report is better than no report. Just make sure when you file it that you try to include as many details as possible about the nature of the problem, especially steps to reproduce it if you can. If the developers need any additional information from you, they'll let you know in a comment on the report. – Knowledge Cube Feb 02 '12 at 13:52
  • 1
    This question should instead be filed as a bug report, and as such is off-topic, thanks! Instructions here. – RolandiXor Feb 02 '12 at 19:04
  • 1
    Roland - I filed this as a bug report but got a reply that it was invalid, and as I was not using software from the repositories I should take up the issue with the software with the provider of the software package.

    When I first learned of Ubuntu everyone was positive about it. But now it seems there are people who are not so happy (who often get called trolls) and I can see why. Remember when Microsoft tightly integrated Internet Explorer with the operating system and people weren't happy? So why has Ubuntu done this with Firefox? Why can't we have a plain install as in Ubuntu 10?

    – dunderhead Mar 19 '12 at 06:38

5 Answers5

15

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.

One Zero
  • 27,153
  • 26
  • 88
  • 109
  • 1
    Thanks One Zero but the output of that is: There is only one alternative in link group x-www-browser: /usr/bin/chromium-browser Nothing to configure. – dunderhead Feb 02 '12 at 08:13
  • which firefox output ? – One Zero Feb 02 '12 at 08:21
  • 1
    Sorry, I'm not sure if I understand One Zero. The output of sudo update-alternatives --config x-www-browser gives: There is only one alternative in link group x-www-browser: /usr/bin/chromium-browser Nothing to configure. – dunderhead Feb 02 '12 at 09:08
  • Another weird thing: Firefox does not appear in the alt-tab task switcher! Even though it's running (I'm typing this in Firefox now) it appears that Ubuntu cannot see Firefox... – dunderhead Feb 02 '12 at 09:11
  • uninstall Firefox & install it from Ubuntu Software Center , & also check Firefox addon before installing by clicking on More Info in Ubuntu Software center – One Zero Feb 02 '12 at 09:16
  • 1
    Thanks One Zero, but I don't want to install the Ubuntu Firefox because it just kept crashing. (I don't want to go off-topic but I noticed a problem with Zeitgeist and Firefox eating up huge percentages of memory and processor cycles. I'm really not sure if it's the Unity integration or some oher thing that's causing the problem, but since I've been running the generic Mozilla vesion my system has been stable again, so I really do not want to install the Ubuntu version again and have the problem reappear.) – dunderhead Feb 02 '12 at 10:14
  • Just a thought: could anyone post their Firefox entries from /usr/bin/x-www-browser ? If I were to copy them into my file perhaps it would work? – dunderhead Feb 02 '12 at 10:43
  • @dunderhead http://askubuntu.com/questions/226/what-does-the-ubuntu-firefox-modifications-extension-to-firefox-do – One Zero Feb 02 '12 at 11:44
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.

Mark Rooney
  • 6,289
  • ...check down the comments in my answer ,he got some problem with software center Firefox , as u said i m totally agree – One Zero Feb 02 '12 at 11:28
2

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.

kiri
  • 28,246
  • 16
  • 81
  • 118
  • Thank you Ivan! This did indeed get Firefox back into System Settings > System Info > Default Applications. Now I am able to run the Mozilla version (10) I had installed and it behaves as the default browser! (BTW the PPA installed Ubuntu version 11. As someone who is forced to sometimes also use Windows I find the Unity global menu too much of a pain and so turned it off, but the Ubuntu version of Firefox overrides this and uses the global menu - an inconsistency and yet another reason why I don't want the integrated version of Firefox.) I'd still like to know the manual method tho'... – dunderhead Feb 04 '12 at 18:01
0

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

  • 2
    Sorry Ivan but that does not work! As I stated in my original post: "Firefox is not showing in system-settings - system info. So I cannot use the menu to choose it." – dunderhead Feb 02 '12 at 08:11
0

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.

ams
  • 3,019
  • Thanks ams, but that says it's for Maverick and Lucid, but I'm using Oneiric - will it work for me too? – dunderhead Feb 02 '12 at 18:13
  • Quite right, I hadn't spotted that. Sorry. It appears that there are no PPAs with the latest firefox for Oneiric because the official repository already has them. My Oniric install currently has Firefox 9.0.1 which seems quite respectable since Firefox 10.0 has only been out 3 days. No doubt there'll be any update soon. I had forgotten that I hadn't needed that PPA in a while. – ams Feb 03 '12 at 09:43