martinf wrote:well i've read every post on this thread and still can't get mozex to open thunderbird in Linux...any other ideas?
What does you entry in MozEx look like? Maybe we can take it from there.
martinf wrote:well i've read every post on this thread and still can't get mozex to open thunderbird in Linux...any other ideas?
Code: Select all
#!/bin/sh
#
#script author: asterix
#http://forums.mozillazine.org/viewtopic.php?p=136157#136157
export MOZILLA_FIVE_HOME=/usr/local/thunderbird
if [ $(ps aux | grep thunderbird | wc -l) -gt 4 ]; then
# thunderbird is running (thunderbird est lance)
$MOZILLA_FIVE_HOME/thunderbird -remote "mailto($1?subject=$2)"
else
# thunderbird is not running (thunderbird n'est pas lance)
$MOZILLA_FIVE_HOME/thunderbird -P default -compose mailto:$1?subject=$2;fi
Code: Select all
chmod +x /path/to/thunderbird-mailto.sh
Code: Select all
/path/to/thunderbird-mailto.sh %a %s
brewerth wrote:I followed your directions to create the script, which itself works fine. If I just execute the script it dutifully opens up a nice Compose window in T-Bird. However, whenever I try to actually use it in Firebird, it says that the script file does not exist. I'm sure that I got the paths correct. Any ideas?
brewerth wrote:/home/tom/thunderbird/mailto.sh
If I type just that from the command line (assuming I'm at /.) it executed the script perfectly.
brewerth wrote:/home/tom/thunderbird/mailto.sh
If I type just that from the command line (assuming I'm at /.) it executed the script perfectly.
Ponder_Stibbons wrote:hello,
this script is working fine for me if thunderbird isn't running. But if thunderbird is running firebird sais: mailto is not a registered protocol.
Any Ideas?
Greetings Ponder