LinuxQuestions.org
Register a domain and help support LQ
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 10-13-2004, 11:31 PM   #1
gianh
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 58

Rep: Reputation: 15
Opening links in thunderbird


How do i onfigure thunderbird so that when I click on a link in an email it is opened in firefox

Thanks
 
Old 10-13-2004, 11:33 PM   #2
TazLinux
Member
 
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228

Rep: Reputation: 30
Open ~/.mozilla-thunderbird/(random_string).default/prefs.js

Add the line
user_pref("network.protocol-handler.app.http", "/usr/bin/mozilla-firefox");
somewhere.

This assumes that firefox is located there.
 
Old 10-13-2004, 11:44 PM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
It seems to be a popular topic. Here are some notes which I got from somewhere on this site and don't feel like going to look for it.

1- Create a shell script called "openlink.sh" in /usr/lib/thunderbird-0.6 containing the following lines

Code:
#!/bin/sh

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

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/thunderbird-0.6/openlink.sh

3- Put these lines in the file /usr/lib/thunderbird-0.6/defaults/pref/all.js

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

4- Copy mozilla-xremote-client from /usr/lib/thunderbird-0.6 to /usr/lib/firefox-0.9.3
 
Old 11-11-2004, 11:06 AM   #4
jalberty
LQ Newbie
 
Registered: Nov 2004
Location: Belgium
Distribution: Linux From Scratch
Posts: 1

Rep: Reputation: 0
Smile First reply work for me

Adding
user_pref("network.protocol-handler.app.http", "/opt/firefox/firefox");
to my thunderbird prefs works.

First link in thunderbird 0.9 opens firefox 1.0 second links opens e new tab in firefox 1.0

Thanx for the hint
Joeri
 
  


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
Thunderbird Links? Matir Linux - Software 1 05-02-2005 10:15 PM
Links in thunderbird gianh Linux - Software 0 10-08-2004 08:52 AM
Opening links in Opera soujrnr Linux - Software 6 06-28-2004 04:24 PM
Thunderbird "disables" Mozilla from opening links Saradas Linux - Software 2 03-18-2004 01:25 PM
Opening links with gaim Minderbinder Linux - Software 2 02-13-2004 07:04 AM


All times are GMT -5. The time now is 12:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration