LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-08-2005, 07:04 PM   #1
kenhall4
LQ Newbie
 
Registered: Mar 2005
Location: Warrington, UK
Distribution: Mandriva 2007 Spring Free, SUSE 10.0
Posts: 18

Rep: Reputation: 0
Setting default browser and e-mail


I prefer to use Firefox for my web browser and Thunderbird for my e-mails, but when I click on an e-mail address on a web page, accessed through Firefox, Evolution pops up as the e-mail program. Similarly, when I click on a web link in an e-mail, accessed through Thunderbird, Epiphany pops up as the web browser. How can I get Thunderbird to start up Firefox and Firefox to start up Thunderbird?

I'm using KDE with Mandrake 10.1 and Fedora Core 3. (Note Thunderbird only starts up Epiphany with Mandrake, it starts up Firefox with FC3.)

Thanks,

Ken
 
Old 07-08-2005, 07:51 PM   #2
Dave Lerner
Member
 
Registered: May 2005
Location: Virginia, USA
Distribution: Ubuntu
Posts: 126

Rep: Reputation: 38
How to integrate Firefox and Thunderbird:

Add to user.js in Firefox profile directory:
Code:
user_pref("network.protocol-handler.app.mailto","/usr/bin/mozilla-thunderbird");
Add to user.js in Thunderbird profile directory:
Code:
user_pref("network.protocol-handler.app.http", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.https", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.ftp", "/usr/bin/firefox");
Create the user.js files if they don't already exist.

The paths to thunderbird and firefox may be different on your system.
 
Old 07-11-2005, 01:11 PM   #3
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 528

Rep: Reputation: 78
Hey there

I have a problem a bit diffrent.
I allready have a default browser "Elinks" but it's a text browser, not a graphic one and i would to change it to firefox insted. Because for the moment all links (when i'm not in firefox) opened in the "Elinks".

So does any one know where to change the default browser? and how to put firefox as default browser?

Last edited by angel115; 07-13-2005 at 05:24 AM.
 
Old 07-13-2005, 05:36 PM   #4
kenhall4
LQ Newbie
 
Registered: Mar 2005
Location: Warrington, UK
Distribution: Mandriva 2007 Spring Free, SUSE 10.0
Posts: 18

Original Poster
Rep: Reputation: 0
Well, I've tried Dave's suggestions, but unfortunately they don't make any difference. I needed to create user.js files. I assume that the user.js files should work OK with only Dave's text strings in them, i.e. there's nothing else which needs to be present in those files?

Ken
 
Old 07-13-2005, 05:48 PM   #5
Dave Lerner
Member
 
Registered: May 2005
Location: Virginia, USA
Distribution: Ubuntu
Posts: 126

Rep: Reputation: 38
You don't need anything else in those files, unless there are other settings you want to customize.

If the files are in the right place, and the paths to thunderbird and firefox are correct, and you relaunched the applications after editing the files, I don't know why it would fail to work.

For firefox, you can verify or change the settings by browsing to about:config (no spaces). I don't know if there's an equivalent for thunderbird.

Last edited by Dave Lerner; 07-13-2005 at 05:54 PM.
 
Old 07-13-2005, 05:56 PM   #6
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
Cool. I've wondered about changing those settings for a while now to control handling everything within Firefox + Mozilla rather than manually copying + pasting links and whatot. One extension I haven't found yet when briefly looking for this previously, is to click a click within Thunderbird, say from an RSS feed linking to a news article, and have that open in Firefox (now I've changed it!) but do it in a new tab...
 
Old 07-14-2005, 06:39 PM   #7
kenhall4
LQ Newbie
 
Registered: Mar 2005
Location: Warrington, UK
Distribution: Mandriva 2007 Spring Free, SUSE 10.0
Posts: 18

Original Poster
Rep: Reputation: 0
Problem solved.

I looked at the output generated by about:config and found that there wasn't any entry for network.protocol-handler.app.mailto. I then did a bit of searching for where the other "network.protocol....." entries were coming from and discovered that they were in a file called prefs.js in my Firefox configuration directory ($HOME/.mozilla/firefox/default.ukf/prefs.js). I then added Dave's user_pref line to this file and that got Firefox to launch Thunderbird.

There was a similar prefs.js file in my Thunderbird configuration directory ($HOME/.thunderbird/w28g05dc.default/prefs.js). Adding the three appropriate user_pref lines to this file then resulted in Thunderbird launching Firefox.

Ken
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the default browser for Ximian Evolution mail client. sepulture Linux - Software 2 11-21-2005 11:03 PM
setting default mail browser and email client novacrasher Linux - General 9 01-12-2005 03:31 PM
setting a default browser imagineaxion Mandriva 12 01-07-2005 01:16 AM
setting default browser? tombomb300 Linux - Software 1 10-19-2003 08:14 PM
Setting a default browser freezinbutt Linux - Newbie 14 03-30-2002 02:17 AM


All times are GMT -5. The time now is 04:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration