LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Firefox about:config and changing e-mail... (https://www.linuxquestions.org/questions/linux-software-2/firefox-about-config-and-changing-e-mail-247565/)

webwolf70 10-26-2004 01:59 PM

Firefox about:config and changing e-mail...
 
Is there something I can change in the Firefox about:config so it opens thunderbird instead evolution with mailto: links?


Webwolf

david_ross 10-26-2004 02:06 PM

You can use the pref setting "network.protocol-handler.app.mailto". There is a script to help you do this here (it's about half way down):
http://forums.mozillazine.org/viewtopic.php?p=603963

webwolf70 10-26-2004 08:05 PM

Quote:

Originally posted by david_ross
You can use the pref setting "network.protocol-handler.app.mailto". There is a script to help you do this here (it's about half way down):
http://forums.mozillazine.org/viewtopic.php?p=603963


Thanks. I just tried that. I am not even sure if I am doing it right. Does anyone have a user.js file they can show me so I have an idea of what it looks like. Also let me know the complete path to where it is located, (Starting in the firefox directory of course.) I thought I only needed one line but I'm not sure if I need to add anymore then that.(Going by the instructions from the link above.)

Thanks

Webwolf

SweetLou 10-27-2004 03:42 PM

The path to my user.js is /home/user/.mozilla/firefox/xxxx.default/user.js The xxxx will be a random set of numbers and letters. The easiest way to do this is to install chromEdit an extension that will allow fast access to your user.js, pref.js userChrome.css and userContent.css.
My user.js looks like:
Code:

// disable target="_blank" (open in same window):
user_pref("browser.block.target_new_window", true);

// Instead of annoying error dialog messages, display pages:
user_pref("browser.xul.error_pages.enabled", true);

You can get the extension at :http://www.extensionsmirror.nl/index.php?showtopic=21#

webwolf70 10-27-2004 06:15 PM

Quote:

Originally posted by SweetLou
The path to my user.js is /home/user/.mozilla/firefox/xxxx.default/user.js The xxxx will be a random set of numbers and letters. The easiest way to do this is to install chromEdit an extension that will allow fast access to your user.js, pref.js userChrome.css and userContent.css.
My user.js looks like:
Code:

// disable target="_blank" (open in same window):
user_pref("browser.block.target_new_window", true);

// Instead of annoying error dialog messages, display pages:
user_pref("browser.xul.error_pages.enabled", true);

You can get the extension at :http://www.extensionsmirror.nl/index.php?showtopic=21#


Thanks. I downloaded it and was able to create a user.js file. But I still can't get it to open with Thunderbird? Here is the line I out in, does this look right or am I leabing something out?


user_prerf("network.protocol-handler.app.mailto", "/home/webwolf/programs/thunderbird/thunderbird.sh");

This is where thunderbird is. Also I tried it with the .sh and without.

This is where the user.js file is being saved.
/home/webwolf/.mozilla/firefox/tzk2qq94.default/user.js

Does this look right?

Thanks

Webwolf

SweetLou 10-27-2004 07:20 PM

You entry into the user.js looks fine and so is the location of user.js. It's just that this is not how I did it. I have Firefox open Thunderbird for mailto: links and news links and have Thunderbird open Firefox if there is a web address in an email. The way I did it was to download another extension, Mozex and then add some scripts to both the Firefox and Thunderbird profile directories. http://forums.mozillazine.org/viewtopic.php?t=79254 I believe this is where I found the information. As you see from this thread, nothing goes into Firefox's user.js but there is something that goes into Thunderbird's user.js


All times are GMT -5. The time now is 05:19 AM.