I have problems opening mailto links in firefox composing in thunderbird
Problem
On ISG.EE managed workstation I cannot open a mailto-link in firefox to compose the mail in thunderbird. What can I do?
Solution
Write in your home in bin/firefox-mailto-fix a script with the following content
# This script allows FireFox to send mailto: links # to Thunderbird PATH="/usr/sepp/bin:$PATH" THUNDERBIRD="thunderbird" THUNDERBIRD_REMOTE="thunderbird -remote" #echo "Firefox mailto: $*" >> $HOME/log.txt MAILTO_URL="$1" #Strip off the protocol as this confuses Thunderbird MAIL_DATA=`echo "$MAILTO_URL" | /bin/sed -s 's/^mailto://'` if $THUNDERBIRD_REMOTE 'ping()' ; then $THUNDERBIRD_REMOTE "mailto( $MAIL_DATA )" else #The mailto needs to be in the format mailto:someone@example.com #eg not mailto://someone@example.com $THUNDERBIRD -P default -compose "$MAILTO_URL" fi exit 0
Then open firefox and type about:config in the address bar, and create a new key network.prococol-handler.app.mailto with value /home/$yourusername/bin/firefox-mailto-fix, where you should substitute $yourusername with your unix login name.