Monday, October 29, 2007

Thunderbird won't open http links

Sometimes, in Linux, after an update or a brand new install, Thunderbird won't open http links (e.g., with Firefox). This might depend on some default configuration value of your distribution.

However, the quickest, and, as far as I know, distribution independent solution, is to manually set these preferences in the prefs.js file:
user_pref("network.protocol-handler.app.ftp", "firefox");
user_pref("network.protocol-handler.app.http", "firefox");
user_pref("network.protocol-handler.app.https", "firefox");
where "firefox" can be replaced with your preferred browser.

Alternatively, you might set these settings with the config editor available from the "advanced" tab. You'll probably need to create new entries for these preferences (of type string).

Hope this helps, at least until the problem is fixed in your distribution :-)

12 comments:

  1. Perfect. This saved me a lot of frustration. Thanks so much for posting.

    ReplyDelete
  2. Great!
    glad to hear that :-)

    ReplyDelete
  3. Anonymous2:17 PM

    hah, thank you very much! Good work.

    ReplyDelete
  4. Works great... but it opens a new window. How can I get it to open in the current browser window?

    ReplyDelete
  5. Eric, the browser behavior does not depend on thunderbird: there's a setting in the browser for specifying what to do if a browser request is performed by another program (at least in Firefox).
    Hope this helps :-)

    ReplyDelete
  6. I did this. but its still not working. its a fresh installation.
    linux: FC9
    ff: version 3 beta 5
    thunderbird: 2.0.0.14

    ReplyDelete
  7. are you sure you put the correct path to your firefox binary?

    ReplyDelete
  8. Anonymous10:20 AM

    Thanks a lot for the tip!

    ReplyDelete
  9. Anonymous7:29 AM

    I want to leave my thanks too!! This has been driving me nuts for months!!

    ReplyDelete
  10. Anonymous1:11 PM

    Thanks, works perfectly.

    Tux2000

    ReplyDelete
  11. Anonymous2:00 AM

    Thanks a lot, this worked for me in Thunderbird on Kubuntu 9.10 and Firefox

    ReplyDelete
  12. Anonymous10:04 PM

    Thanks, it worked!

    ReplyDelete