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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-15-2004, 11:35 PM
|
#1
|
Member
Registered: Jun 2003
Distribution: OpenSUSE 12.3, CentOS 6, Xubuntu 13.04
Posts: 125
Rep:
|
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! 
|
|
|
09-16-2004, 12:11 AM
|
#2
|
Member
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Debian Stretch
Posts: 374
Rep:
|
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
|
|
|
09-16-2004, 12:41 AM
|
#3
|
Member
Registered: Sep 2003
Distribution: Slackware
Posts: 626
Rep:
|
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 01:23 AM.
|
|
|
09-16-2004, 01:26 AM
|
#4
|
Member
Registered: Jun 2004
Location: Kalifornia
Distribution: YOPER+KDE
Posts: 263
Rep:
|
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'
|
|
|
09-16-2004, 02:34 PM
|
#5
|
Member
Registered: Jun 2003
Distribution: OpenSUSE 12.3, CentOS 6, Xubuntu 13.04
Posts: 125
Original Poster
Rep:
|
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!
|
|
|
09-16-2004, 05:28 PM
|
#6
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
It's a Linux technical question, so fits better to Linux-Software.
|
|
|
09-16-2004, 10:11 PM
|
#7
|
Member
Registered: Jun 2003
Distribution: OpenSUSE 12.3, CentOS 6, Xubuntu 13.04
Posts: 125
Original Poster
Rep:
|
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. 
|
|
|
09-16-2004, 10:22 PM
|
#8
|
Member
Registered: Jun 2003
Distribution: OpenSUSE 12.3, CentOS 6, Xubuntu 13.04
Posts: 125
Original Poster
Rep:
|
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  )!
|
|
|
All times are GMT -5. The time now is 02:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|