Getting Thunderbird to open links in your favorite browser.
I’ve been using Thunderbird for a while now, and suddenly it stopped responding on clicks on links, they do not open in my preferred browser Firefox. After googling a little bit I found out how to make it open links in the browser you want.
Close Thunderbird and find the prefs.js file in ~/.thunderbird/*.default where * is the string your profile is given.
At the end of the prefs.js file append the following lines:
user_pref("network.protocol-handler.app.http","/usr/bin/firefox");
user_pref("network.protocol-handler.app.https","/usr/bin/firefox");
user_pref("network.protocol-handler.app.ftp","/usr/bin/firefox");
You can of course use a path for another browser if you want.
Also if you Firefox will not open mailto links in Thunderbird you can find Firefox’s prefs.js file in ~/.mozilla/firefox/*.default and append the following line:
user_pref("network.protocol-handler.app.mailto","/usr/bin/thunderbird");