Results 1 to 10 of 30

Thread: HOWTO: Firefox mailto w/ Thunderbird

Threaded View

  1. #1
    Join Date
    Oct 2004
    Location
    Mass
    Beans
    182

    HOWTO: Firefox mailto w/ Thunderbird

    Some people have problems using mailto links with Thunderbird. To fix the "choose user profile" problem, follow this howto.

    Method 1:


    THUNDERBIRD: Open with firefox an URL contained in an email

    1.) Open Nautilus and type this in the address bar: ~/.thunderbird (if that doesn't work, try ~/.mozilla-thunderbird)

    2.) Go your profile directory (with a random-generated name, like this Xbcgev.default). To be sure you're in the correct directory check if a file named prefs.js exists.

    3.) File > Create Document > Empty Document highlight it and press F2 to rename the document user.js (If it already exists skip this passage).

    4.) Open user.js and write this line (if the file already exists append the line at the end): user_pref("network.protocol-handler.app.http", "/usr/bin/firefox");
    /usr/bin/firefox is obviously the path to execute firefox

    5.) That's all

    FIREFOX: open thunderbird when clicking on a "mailto:" link

    1.) 1.) Open Nautilus and type this in the address bar: ~/.mozilla/firefox (if that doesn't work, try ~/.mozilla-thunderbird)

    2.) Go your profile directory (with a random-generated name, like this Xbcgev.default). To be sure you're in the correct directory check if a file named prefs.js exists.

    3.) File > Create Document > Empty Document highlight it and press F2 to rename the document user.js (If it already exists skip this passage).

    4.) Open user.js and write this line (if the file already exists append the line at the end): user_pref("network.protocol-handler.app.mailto","/usr/bin/mozilla-thunderbird");
    /usr/bin/mozilla-thunderbird is the path to execute thunderbird

    5.) That's all


    Method 2:
    (might be dangerous)

    (please back your original TB copy up--some people have had problems with this hack):

    1.) Type: about:config into the firefox address bar (press ctrl + T for a new tab)

    2.) Right click and choose: New>String

    3.) In "new string value" box type: network.protocol-handler.app.mailto click OK

    4.) In "enter string value" box enter: /usr/bin/mozilla-thunderbird click OK

    5.) Open a terminal and use this command: sudo cp /usr/bin/mozilla-thunderbird /usr/bin/mozilla-thunderbird.bak (this is our backup in case anything goes haywire)

    6.) Now use the following command: sudo gedit /usr/bin/mozilla-thunderbird

    7.) Press Ctrl + R. In the Search For box, type: Mozilla-Thunderbird. In the Replace with box type: mozilla-thunderbird. Press Alt + M, then Alt + A, then Alt + C, then Ctrl + S, then Alt + F4.

    7.) Reset Firefox and try the mailto link (it should work while TB is on or off)

    Note: This is a dirty dirty hack--PM me if you have a more failsafe method, and I'll edit it in
    Note 2: If you have problems w/ the script, post here, so I know what is going wrong.
    Last edited by ming0; April 20th, 2005 at 12:08 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •