Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Other Versions > EOL (End Of Life) Versions
FedoraForum Search

Forgot Password? Join Us!

EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th March 2006, 08:19 AM
BradW's Avatar
BradW Offline
Registered User
 
Join Date: May 2004
Location: Concord, CA
Posts: 68
Question Default browser with FC5 Gnome 2.14

Hello,

When I click on a Web URL on my desktop, Mozilla is launched and the page is loaded. I want the default to be Firefox. I have Firefox set in Gnome's Preferred Applications applet. In fact, it doesn't matter WHAT I select in Preferred Applications. Can anyone tell me how to default a desktop URL launcher to Firefox?

Brad
Reply With Quote
  #2  
Old 30th March 2006, 09:54 AM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
You should have a file named /usr/share/applications/default.list with a MIME entry for web pages that looks like this:
Code:
text/html=redhat-web.desktop
In the same directory you should also find the file redhat-web.desktop which specifies the executable path and name for the application in charge of handling web pages. In my (default) installation it looks like this:
Code:
Exec=htmlview %u
If you change the MIME settings in /usr/share/applications/default.list, remember to run
Code:
update-mime-database /usr/share/mime
htmlview is a bash script in /usr/bin which will run
gconftool-2 -g /desktop/gnome/url-handlers/http/command
which, in turn, should return 'firefox %s', which is what I set as my preferred application.
What a mess,uh?

Last edited by giulix; 30th March 2006 at 10:06 AM.
Reply With Quote
  #3  
Old 31st March 2006, 02:40 AM
BradW's Avatar
BradW Offline
Registered User
 
Join Date: May 2004
Location: Concord, CA
Posts: 68
Angry Re: Default browser with FC5 Gnome 2.14

Hi Giulix,

I have the configuration exactly as you described it. I also tried blindly substituting "firefox" and "firefox %s" in a couple of places. No difference. No matter what I do, Mozilla keeps starting!

Anyway, I do thank you for the help. If you have any other ideas, please let me know.

Brad
Reply With Quote
  #4  
Old 31st March 2006, 12:05 PM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
Yeah, well.... I would start trying to pinpoint where exactly the problem lies. For instance, what is the outcome of
Code:
gconftool-2 -g /desktop/gnome/url-handlers/http/command
issued from a terminal while you're logged in as the user who is having this problem ?
Reply With Quote
  #5  
Old 1st April 2006, 11:04 AM
BradW's Avatar
BradW Offline
Registered User
 
Join Date: May 2004
Location: Concord, CA
Posts: 68
Re: Default browser with FC5 Gnome 2.14

Hi Giulix,

Gconf returns:

/usr/lib/firefox/firefox "%s"

which is correct. Any thoughts? Thanks again!

Brad
Reply With Quote
  #6  
Old 4th April 2006, 03:53 AM
BradW's Avatar
BradW Offline
Registered User
 
Join Date: May 2004
Location: Concord, CA
Posts: 68
Smile

Re: Default browser with FC5 Gnome 2.14

Bump.
Reply With Quote
  #7  
Old 4th April 2006, 03:58 AM
Omega Blue's Avatar
Omega Blue Offline
Registered User
 
Join Date: Apr 2005
Location: Fragrant Harbour
Posts: 1,344
Quote:
Originally Posted by BradW
Hello,

When I click on a Web URL on my desktop, Mozilla is launched and the page is loaded. I want the default to be Firefox. I have Firefox set in Gnome's Preferred Applications applet. In fact, it doesn't matter WHAT I select in Preferred Applications. Can anyone tell me how to default a desktop URL launcher to Firefox?

Brad
Huh?

From the release notes (2.1.1 Desktop)

Quote:
The default Web browser is Firefox 1.5 (http://www.mozilla.com/firefox/releases/1.5.html), which has many new features for faster, safer, and more efficient browsing.
Reply With Quote
  #8  
Old 4th April 2006, 11:00 AM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
Ok. I reviewed my previous instructions and there's one more: in /usr/share/applications there's a file named mimeinfo.cache that needs to be updated too. There a few entries in there, related to web browsers:
Code:
text/html=mozilla.desktop;fedora-bluefish.desktop;mozilla-firefox.desktop;
application/vnd.mozilla.xul+xml=mozilla.desktop;mozilla-firefox.desktop;
text/mml=mozilla.desktop;mozilla-firefox.desktop;
I have tweaked the afore mentioned files for audio and video and I managed to get Gnome select the applications I wanted (xmms instead of mplayer and xine instead of totem or whatever). I hope this applies for web browsers, too...
Reply With Quote
  #9  
Old 5th April 2006, 01:54 AM
BradW's Avatar
BradW Offline
Registered User
 
Join Date: May 2004
Location: Concord, CA
Posts: 68
Re: Default browser with FC5 Gnome 2.14

Hi Giulix,

Thanks! I will check that file and let you know how it goes.

Brad
Reply With Quote
  #10  
Old 5th April 2006, 10:56 PM
BradW's Avatar
BradW Offline
Registered User
 
Join Date: May 2004
Location: Concord, CA
Posts: 68
Angry Re: Default browser with FC5 Gnome 2.14

Hi Giulix,

Editing /usr/share/applications/mimeinfo.cache didn't seem to make any difference either. I also used:

update-mime-database /usr/share/mime

It's a good thing this problem isn't really that critical; just annoying.

Thanks very much for all your help!

Brad
Reply With Quote
  #11  
Old 6th April 2006, 08:33 AM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
Well... I give up. Any other taker ?
Reply With Quote
  #12  
Old 6th March 2007, 05:43 AM
lmo Offline
Registered User
 
Join Date: Mar 2007
Posts: 1,047
Quote:
What a mess,uh?
I found way to do it.
I have a firefox-1.5 from 'Firefox' installed in the directory /usr/local/firefox-downloaded/firefox-1.5/firefox
Code:
cd /usr/bin
mv firefox firefox.orig
ln -s /usr/local/firefox-downloaded/firefox-1.5/firefox/firefox firefox
Shazam!


Now ... How do you do a similarly easy thing to default to use Thunderbird email?

DOH
Code:
cd /usr/share/applications
mv redhat-evolution-mail.desktop redhat-evolution-mail.desktop.orig
cp redhat-evolution-mail.desktop.orig redhat-evolution-mail.desktop
Now, edit redhat-evolution-mail.desktop

Change
Code:
Exec=evolution --component=mail
To
Code:
Exec=thunderbird
And
Code:
cd /usr/bin
ln -s /usr/local/firefox-downloaded/thunderbird/thunderbird thunderbird
Sha-za-um!

Last edited by lmo; 6th March 2007 at 06:40 PM.
Reply With Quote
Reply

Tags
214, browser, default, fc5, gnome

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default Browser OldJohnB Using Fedora 8 26th July 2007 11:49 PM
How to set htmlview, default browser, KDE, Gnome rgparker77 Using Fedora 3 17th December 2006 12:40 AM
HOw to set default browser crzyone9584 Using Fedora 3 1st June 2006 04:49 AM
Default Web Browser in FC4 jeanfiga Using Fedora 11 19th September 2005 04:59 PM
default browser? lrs Programming & Packaging 5 30th August 2005 10:09 AM


Current GMT-time: 01:01 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat