LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't open URL links in Thunderbird (http://www.linuxquestions.org/questions/linux-newbie-8/cant-open-url-links-in-thunderbird-236035/)

unixfreak 09-27-2004 10:17 PM

Can't open URL links in Thunderbird
 
I have Mozilla Thunderbird set as my default browser, but whenever I receive a link to a website, I can't open it. It does not activate for me to get to the websites when I double click the links.

And this goes for as well when Im on a webpage and I double click on Contact, it does not open up Thunderbird.

Im using Mandrake Linux. Whats going on?

bruno buys 09-27-2004 10:38 PM

Nothing is going on. This feature isn't implemented yet, for linux. But Thunderbird for win already does that. They shall fix it soon, I guess.

But you can fix it for yourself, it seems:
http://www.mozilla.org/products/thun...leases/#issues

homey 09-27-2004 10:57 PM

If you mean to click on a link while in Thunderbird and have it open up Firefox, then this thread put me onto a solution....
here

I modified the procedure abit for my machine and here are my notes...
Code:


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

#!/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

Also, to make Thunderbird the default email client, I opened up
Control Center
KDE Components
Component Chooser
Default Component
X Use a different email client >>> Thunderbird

unixfreak 09-28-2004 07:45 PM

I have Mozilla Thunderbird set as my default browser,

I meant to write default Email. I just noticed this.

Thanks for the help I'll give it a try.

pindlet 10-18-2004 11:00 AM

getting thunderbird to open urls instead of saving them as files
 
I had a problem where thunderbird was opening firefox, saving the url as a file and doing nothing with firefox, just leaving a blank window.

I changed /etc/mozilla-thunderbird/global-config.js [which is symlinked to as all.js from a number of places] uncommenting the following two lines

// pref("network.protocol-handler.app.http","mozilla-firefox");
// pref("network.protocol-handler.app.https","mozilla-firefox");

Once that was done - restart and off you go!


All times are GMT -5. The time now is 05:41 AM.