Un tip provenant du forum Hardware.fr :

Comment faire pour que les liens cliqués dans Thunderbird lance Firefox et pas Mozilla ?

voila ce que j’avais enregistrer en cherchant sur le forum de mozilla :

RobF, here’s what I did to be able to use Firefox as default browser from Thunderbird with my Gentoo (should work with Mandrake too) :

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

#!/bin/sh
export MOZILLA_FIVE_HOME="/opt/firefox"
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/

If it works, clicking on a URL in Thunderbird will launch Firefox and if Firefox is allready running, it will open a new tab.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *