You are not logged in.

#1 2004-05-06 12:47:54

galen
Member
From: Canada
Registered: 2003-07-02
Posts: 135
Website

URL handler for thunderbird, MAILTO handler for firefox

would like to see an integration of firefox and thunderbird.
thuderbird to call an url handler and firefox to call a mailto handler

so far my limited script editing has produced no success.
also tried the scripts in
/usr/bin
such as a mod of viewurl_mozilla.sh
but I could not get it to work, besides it calls for the MOZILLA home environment to be set, which is not set on my machine for 'root' or 'users'. Is this environment set in arch by default?

I've stopped using the mozilla suite in favor of TB and FF


thunderbird site has something along this line, which I could not get to work

1- Create a shell script called "openlink.sh" in Thunderbird's directory (/opt/MozillaThunderbird for me) containing the following lines :

#!/bin/sh

url="$1"
if [ "x$url" = "x" ]; then
url="about:blank"
fi

if $MOZILLA_FIVE_HOME/mozilla-xremote-client openURL("$url, new-tab"); then
exit 0
fi
exec $MOZILLA_FIVE_HOME/firefox "$url"

2- chmod +x /opt/MozillaThunderbird/openlink.sh

3- Create a file called user.js in your ~/.thunderbird/default/xxx/ containing :

// Use firefox for http, https & ftp links
user_pref("network.protocol-handler.app.http", "/opt/MozillaThunderbird/openlink.sh");
user_pref("network.protocol-handler.app.https", "/opt/MozillaThunderbird/openlink.sh");
user_pref("network.protocol-handler.app.ftp", "/opt/MozillaThunderbird/openlink.sh");

4- Copy mozilla-xremote-client from /opt/MozillaThunderbird/ to /opt/firefox/ 

Off to using Peanut and Slackware, no hard feelings but I need my CD to burn, PDA and scanner to connect and arch won't do it.

[img]http://www.flightsimhq.org/images/war-is-bushit_s.jpg[/img]

Offline

#2 2004-05-08 14:48:57

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: URL handler for thunderbird, MAILTO handler for firefox

Hi Galen!  (in swedish galen=crasy but that's another story)
I have no answers to your problems but I had tried everything and given up also. So you are not alone in trouble with this stuff!


arch + gentoo + initng + python = enlisy

Offline

Board footer

Powered by FluxBB