jlarue wrote:I prefer Thunderbird, too, but have a persistent problem getting it and Firefox to play nicely together. I've tried various fixes, but thus far without luck. The problem: clicking on a link in Tbird does not load Firefox. Clicking on a mailto link in Firefox launches Tbird ONLY if it isn't already running -- otherwise, it tries to launch another session. I have no idea why this basic problem has never been fixed.
I'm not too sure about the mailto: links but I did experience similar problems with Thunderbird when I used to run Slackware. My solution was a script I found somewhere on mozilazine
I had to modify it a bit as it was written for Firebird (old name of Firefox). It may or may not help, no promises
To install this scrip on your system - copy the following script to a file called firefoxtb.sh in /usr/bin (or some other location in your PATH environment variable) then edit your Thunderbird prefs.js file (usually located somewhere under ~/.thunderbird) to include this line -
Of course you have to change the path to the firefoxtb.sh script if you created it in a different directory, for instance /bin
You will need to restart Thunderbird for the changes to take effect. Please make sure that Thunderbird is NOT running while you edit your prefs.js file as it will be overwritten by Thunderbird when you exit!
After that it *should* work. Please note I have only tested this on my Slackware box, it may or may not work with other distros!
[ -z $url ] && url=about:blank
## Run Firefox remotely if there's an existing process running...
if [ -x $MOZILLA_FIVE_HOME/firefox ] ; then
rv=`ps -ef | grep '/usr/Firefox/firefox' | grep -v grep | wc -l`
if [ $rv == "0" ] ; then
$MOZILLA_FIVE_HOME/mozilla-xremote-client openURL\($url\) && exit 0
$MOZILLA_FIVE_HOME/firefox $url &
$MOZILLA_FIVE_HOME/mozilla-xremote-client openURL\($url,new-tab\) && exi
$MOZILLA_FIVE_HOME/firefox -remote "openURL($url, new-tab)" &
Let me just clarify, I did not write this script. I found it somewhere on mozilazine
I can't remember exactly where. Newer versions of Thunderbird may not accept this workaround any more, so don't come crying to me if it breaks anything (don't worry I'm sure it wont
I also seem to recall that there is an easier was to acomplish this, if you are running Gnome I believe all you need to do is set your default browser under Desktop Preferences > Advanced > Preferred Applications
I needed this script because I was running KDE.
Hope this helps
ps. For problems like this you should really consult the Mozillazine Forums