x-tech Posted January 10, 2005 Report Share Posted January 10, 2005 Hey All, I am trying get my firefox mailto links to open up in thunderbird. I have added the following to prefs.js file: user_pref("network.protocol-handler.app.mailto", "/usr/bin/mozilla-thunderbird"); The only problem is if thunderbird is already open I get the profile chooser. Im sure Im not giving the proper command, can you help me out? Thanks, Moved from Software to Terminal Shell Commands, Kernel and Programming - Artificial Intelligence Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted January 10, 2005 Report Share Posted January 10, 2005 Try: user_pref("network.protocol-handler.app.mailto", "/usr/bin/mozilla-thunderbird -remote 'openURL(%s,new-window)'"); Quote Link to comment Share on other sites More sharing options...
x-tech Posted January 10, 2005 Author Report Share Posted January 10, 2005 Try: user_pref("network.protocol-handler.app.mailto", "/usr/bin/mozilla-thunderbird -remote 'openURL(%s,new-window)'"); <{POST_SNAPBACK}> Well, I gave that a shot. It didnt work. Thanks for the quick responce. Any other suggestions? Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 9, 2005 Report Share Posted February 9, 2005 (edited) I found it: http://www.crazysquirrel.com/debian/firefox-mailto.php Only problem is, you need Cooker packages for it to work. The current official pkgs are semi-broken. The pkgs you'll need are: mozilla-enigmail-1.7.5-6mdk.i586.rpm mozilla-enigmime-1.7.5-6mdk.i586.rpm mozilla-firefox-1.0-10mdk.i586.rpm mozilla-thunderbird-1.0-5mdk.i586.rpm mozilla-1.7.5-6mdk.i586.rpm libnss3-1.7.5-6mdk.i586.rpm libnspr4-1.7.5-6mdk.i586.rpm mozilla-mail-1.7.5-6mdk.i586.rpm Those are the current version numbers as of this moment, as Cooker updates constantly, those version numbers could be different by the time I hit the submit button. Installing those will make you uninstall Galeon and I'm not sure what dependencies a Cooker Galeon pkg requires and I don't really care about Galeon. Be warned: Mixing Cooker and Official pkgs can be dangerous on the continued stability of your system. I am a very experienced user (by 'experienced' I mean I've hosed/broken/toasted/borked a few installations). Edited February 9, 2005 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
cmus Posted February 9, 2005 Report Share Posted February 9, 2005 I've got the opposite problem. When I clink on html links that come to my inbox in thunderbird, firefox will open up but is only directed to my homepage. I have to copy links out of e-mails into the firefox address bar which is a pain. Is there any way to fix this? Mahalo.... Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 10, 2005 Report Share Posted February 10, 2005 I have yet to get Thunderbird to open Firefox when clicking on links in it. If you can tell me how to do that, I may be able to solve the homepage problem relatively easily. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 10, 2005 Report Share Posted February 10, 2005 I think I got it. Run gnome-default-applications-properties and set the default browser to mozffremote "%s" Quote Link to comment Share on other sites More sharing options...
cmus Posted February 10, 2005 Report Share Posted February 10, 2005 Thanks Steve, that worked. Now the next step would be to try to be able to get the links opened from thunderbird to be opened in a new tab within firefox if firefox was already running. Any ideas? Mahalo Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 10, 2005 Report Share Posted February 10, 2005 That fix above should also open a new tab if firefox is already opened. That's the nature of the mozffremote script itself. It works that way here. Have a look at /usr/bin/mozffremote and you'll see what I mean. Well, actually, I may have edited my mozffremote now that I think about it. Here's my /usr/bin/mozffremote: if mozilla-firefox -a firefox -remote "ping()" 2> /dev/null ; then if [ -z "$1" ]; then mozilla-firefox -a firefox -remote "xfeDoCommand (openBrowser)" else mozilla-firefox -a firefox -remote "openURL($1,new-tab)" fi else mozilla-firefox $1 & fi Yours may say new-window in the bold part. Note that changing this will change the behavior for every link you click in other apps as well...at least ones that respect the gnome-config. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.