This howto is about Firefox and Thunderbird and the small changes you need to make to your system in order to get them to work together.xhost + firefox xhost -
that should take care of any problems with firefox.
update-alternatives --config x-www-browser
If this does not work then try to add thise lines in your thunderbird prefs.js file:
user_pref("network.protocol-handler.app.ftp", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.http", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.https", "/usr/bin/firefox");
#!/bin/sh url="$1" mozilla-thunderbird -compose $url
And you need to edit or make user.js in you .mozilla/firefox/xx/ directory contaning the following
user_pref("network.protocol-handler.app.mailto", "/path/to/mailto-handler.sh");
Now you are done when you clik on mailto links in firefox you will open a composer window in thunderbird wether it is running or not.
And if you click on a link in thunderbird you will - in your active window in firefox - load the page or you will start firefox with the link you clicked on.