相忘于江湖

泉涸,鱼相与处于陆,相呴以湿,相濡以沫,不如相忘于江湖。《庄子.大宗师篇》

Add Handlers on Firefox and Thunderbird

Tuesday Oct 23, 2007

It's quite annoying when you click on a link on Thunderbird but no browser (Mozilla or Firefox) is launched, and vice versa. It's actually quite simple to fix this by adding handlers on Firefox or Thunderbird.

  1. go to 'about:config' editor
    for Firefox, just type 'about:config' on address bar
    for Thunderbird, click on 'Edit/Preferences' menu, a dialog pops up
          then click on 'Config Editor' button on 'Advanced/General' tab

  2. right click on any existing entry, click 'New/String' menu
    for Firefox, enter 'network.protocol-handler.app.mailto' on first dialog,
          then '/usr/bin/thunderbird %s' on second dialog (*).
    for Thunderbird, enter 'network.protocol-handler.app.http' on first dialog,
         then '/usr/bin/firefox -new-tab "%s"'.

  3. repeat step 2 for Thunderbird to add other handlers
    network.protocol-handler.app.https
    network.protocol-handler.app.ftp


That's it!

 

 

(*) Note that the actual path name for firefox and thunderbird may vary on your environment.
(*) Note #2: this works on all versions of Firefox, but only version 1.5 or later for Thunderbird.

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed