Author Topic: Firefox is not always the default browser [SOLVED]  (Read 3754 times)

0 Members and 1 Guest are viewing this topic.

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Firefox is not always the default browser [SOLVED]
« on: September 08, 2013, 01:48:45 pm »
I am running Peppermint 3 on a Dell D505 laptop because it doesn't support PAE and hence Ubuntu 12.04.   

I like many aspects of Peppermint but don't like the cloud behaviour and have installed all my favourite applications such as Firefox, which I have set as the default browser. 
However, links in some applications open Chromium.  Although this is irritating, I could live with it (just) except that on occasion Chromium fails to display a perfectly good HTML file.  I have just installed the Audacity help manual (It doesn't go where it's supposed to, by the way) but clicking on the help menu item in Audacity brings up Chromium which fails to display the file. 
When entering the file address (file:///usr/share/audacity/help/manual/index.html) into Firefox it displays correctly. 

I would be grateful for advice on persuading Peppermint to regard Firefox as the default browser in all situations. 
Thank you.
« Last Edit: September 08, 2013, 02:50:26 pm by Keith »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17940
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Firefox is not always the default browser
« Reply #1 on: September 08, 2013, 01:56:36 pm »
what's the output from:
Code: [Select]
update-alternatives --display x-www-browser
and
Code: [Select]
update-alternatives --display gnome-www-browser
?
« Last Edit: September 08, 2013, 01:59:00 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Firefox is not always the default browser
« Reply #2 on: September 08, 2013, 02:34:21 pm »
keith@D505 ~ $ update-alternatives --display x-www-browser
x-www-browser - auto mode
  link currently points to /usr/bin/chromium-browser
/usr/bin/chromium-browser - priority 40
/usr/bin/firefox - priority 40
Current 'best' version is '/usr/bin/chromium-browser'.
keith@D505 ~ $ update-alternatives --display gnome-www-browser
gnome-www-browser - auto mode
  link currently points to /usr/bin/chromium-browser
/usr/bin/chromium-browser - priority 40
/usr/bin/firefox - priority 40
Current 'best' version is '/usr/bin/chromium-browser'.
------------------------------------------------------------
Ah, that says it all, doesn't it?  Now to set the priorities?

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17940
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Firefox is not always the default browser
« Reply #3 on: September 08, 2013, 02:45:13 pm »
OK, let's do this the GUI way ..

Install galternatives:
Code: [Select]
sudo apt-get install galternatives

Now go to

menu > System Tools > Alternatives Configurator

in the left-hand pane, select gnome-www-browser

in the right-hand pane, put the dot next to 40  /usr/bin/firefox

in the left-hand pane, select x-www-browser

in the right-hand pane, put the dot next to 40  /usr/bin/firefox

Close the Alternatives Configurator tool

Check links now open Firefox instead of chrome.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Firefox is not always the default browser
« Reply #4 on: September 08, 2013, 02:49:42 pm »
Mark, you're a star.  But I've said that before!
Many thanks.

Keith

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17940
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Firefox is not always the default browser [SOLVED]
« Reply #5 on: September 08, 2013, 03:02:28 pm »
:) . I take it, it worked then ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Firefox is not always the default browser [SOLVED]
« Reply #6 on: September 08, 2013, 03:04:43 pm »
Absolutely.  I am a happy bunny. 
Firefox rules OK. 

Tell me - what's it like to know what you're doing?  It's not something that I've ever experienced.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17940
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Firefox is not always the default browser [SOLVED]
« Reply #7 on: September 08, 2013, 04:03:53 pm »
Who said I know what I'm doing .. didn't you notice I had to ask if it worked ;)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal