This has been bugging me in thunderbird for a while now, and I finally got the time to find a solution, though it's far from being a perfect one.

I'm using Thuderbird 0.4a -- that's some nightly build I download -- 11/12/2003 (that's MM/DD, not DD/MM).
I found that when I click on a link in a message it outputs an error message in the console from run-mozilla.sh that it can't run MozillaFirebird-bin. It couldn't run it because it was trying to run it from the Thunderbird directory. The first thing I tried to do was symlink either MozillaFirebird or MozillaFirebird-bin from the Firebird directory in the Thunderbird -- that resulted in some obscure XUL/Mozilla error message that meant nothing to me -- after inspecting the (overwhelmingly complex) Mozilla run-scripts I found that they a lot of environment settings before loading anything, and I gathered the run-mozilla.sh Thunderbird was using to start Firebird was setting the environment according to its location, which means it sets things for Thunderbird.
What I did is create a small shell script named MozillaFirebird-bin and placed it in the thunderbird directory (where the thunderbird executable & run-mozilla.sh scripts are). The script is executable, since run-mozilla.sh will be trying to execute it, and contains the following code:


#!/bin/bash
FIREBIRD_HOME=/some/where/over/therainbow/MozillaFirebird
$FIREBIRD_HOME/run-mozilla.sh $FIREBIRD_HOME/MozillaFirebird $1

which basically runs the run-mozilla.sh script in the MozillaFirebird directory and forwards the URL to load (that's in $1).

Works for me. What needs to be improved is to make Firebird open a new tab/window if it's already loaded and not try to open a new instance (which will result in a "Select Profile"). Can anyone tell how to do that?


Hope this helps someone.



Alon.


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to