LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2004, 10:35 PM   #1
AudioMechanic
Member
 
Registered: Jun 2003
Distribution: OpenSUSE 12.3, CentOS 6, Xubuntu 13.04
Posts: 125

Rep: Reputation: 16
Mozilla Thunderbird question....


How do I make Thunderbird open Firefox instead of Konqueror when clicking links in emails? I've been through all the settings and didn't find anything that may be relevent to my problem.

Thanks in advance!
 
Old 09-15-2004, 11:11 PM   #2
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Debian Stretch
Posts: 374

Rep: Reputation: 32
this is just a guess, but try change your default mail client in the KDE control centre/KDE components/component chooser

let us know how it goes
 
Old 09-15-2004, 11:41 PM   #3
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
This procedure worked for me. Make sure you change the directory paths to suit your system.

1- Create a shell script called "openlink.sh" in Thunderbird's directory (/usr/lib/mozilla-thunderbird for me) containing the following lines :

#!/bin/sh

export MOZILLA_FIVE_HOME="/usr/lib/mozilla-firefox"

url="$1"
if [ "x$url" = "x" ]; then
url="about:blank"
fi

if $MOZILLA_FIVE_HOME/mozilla-xremote-client openURL\("$url, new-tab"\); then
exit 0
fi
exec $MOZILLA_FIVE_HOME/firefox "$url"

2- chmod +x /usr/lib/mozilla-thunderbird/openlink.sh

3- Create a file called user.js in your ~/.thunderbird/default.xxx/ containing :

// Use firefox for http, https & ftp links
user_pref("network.protocol-handler.app.http", "/usr/lib/mozilla-thunderbird/openlink.sh");
user_pref("network.protocol-handler.app.https", "/usr/lib/mozilla-thunderbird/openlink.sh");
user_pref("network.protocol-handler.app.ftp", "/usr/lib/mozilla-thunderbird/openlink.sh");

4- Copy mozilla-xremote-client from /usr/lib/mozilla-thunderbird to /usr/lib/mozilla-firefox

That should open Firefox, and if it's already open, it should open a new tab. (This is a modification of a post on Thunderbird forum)

edit: Mods - maybe this post should be moved to Software

Last edited by mdg; 09-16-2004 at 12:23 AM.
 
Old 09-16-2004, 12:26 AM   #4
nuka_t
Member
 
Registered: Jun 2004
Location: Kalifornia
Distribution: YOPER+KDE
Posts: 263

Rep: Reputation: 30
wow. do ypu really have to do all that?


i just installed tb an hour ago and htere was a box where you put the browser. i just went back in to check where it was for you and i cant find it.

happy huntin'
 
Old 09-16-2004, 01:34 PM   #5
AudioMechanic
Member
 
Registered: Jun 2003
Distribution: OpenSUSE 12.3, CentOS 6, Xubuntu 13.04
Posts: 125

Original Poster
Rep: Reputation: 16
Thank you for the replies! I tried cadj's suggestion to no avail. I will try mgd suggestion when I get home and let you guys know!

Thanks again!
 
Old 09-16-2004, 04:28 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It's a Linux technical question, so fits better to Linux-Software.
 
Old 09-16-2004, 09:11 PM   #7
AudioMechanic
Member
 
Registered: Jun 2003
Distribution: OpenSUSE 12.3, CentOS 6, Xubuntu 13.04
Posts: 125

Original Poster
Rep: Reputation: 16
Hmm...I did everything in mdg's post with the exception of one thing if I have done it wrong. I got confused about this line in mdg's post:

Quote:
3- Create a file called user.js in your ~/.thunderbird/default.xxx/ containing :
I have a ~./thunderbird/"defaults" directory with four sub directories inside it: "isp", "messenger", "pref", "profile". I'm assuming that the user.js file goes in the "pref" directory but I'm not sure. Actually I put it right into the "defaults" directory and not into a sub dir of "defaults". That maybe why it doesn't work.

Also, yes I am sure that I changed all of the paths in the two files to fit my system. I'm sure that would have been a question.

Lastly, thank you for moving the thread. I wasn't really sure where I should have put it.
 
Old 09-16-2004, 09:22 PM   #8
AudioMechanic
Member
 
Registered: Jun 2003
Distribution: OpenSUSE 12.3, CentOS 6, Xubuntu 13.04
Posts: 125

Original Poster
Rep: Reputation: 16
NEVERMIND! I GOT IT!

I went curiously into the "pref" directory and saw a file called "thunderbird.js" and opened it with kate. I saw all kind of settings set up in the same fashion as the user.js file only instead of "user-pref" in front of each variable, it was just "pref." so I cut the "user-" off of the front of the line items in the "user.js" file and then copied it's contents to the end of the thunderbird.js file. I then restarted Thunderbird hoping for the worst, found an email with a link, clicked it and BOOM! Firefox appears!

Thank you very much for everyone's help (asspecially mdg )!
 
  


Reply



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
Mozilla and thunderbird together? barrythai SUSE / openSUSE 1 12-25-2004 09:45 PM
mozilla and Thunderbird tisson Linux - Software 1 12-20-2004 08:48 AM
Mozilla Thunderbird question Musikolo Linux - Software 2 10-06-2004 05:50 AM
Mozilla Firefox and Mozilla Thunderbird FireInTheDark Linux - Software 3 08-14-2004 11:52 AM
Segfaults in Mozilla, Mozilla Firebird, and Mozilla Thunderbird Ninja Cow Linux - Software 2 02-02-2004 01:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:14 PM.

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
Open Source Consulting | Domain Registration