View previous topic :: View next topic |
Author |
Message |
Newtanknurse n00b
Joined: 15 Jan 2005 Posts: 56
|
Posted: Tue Feb 08, 2005 12:07 am Post subject: Firefox/thunderbird |
|
|
Perhaps this is an odd expectation, but shouldnt I be able to click through on links in thunderbird to my browser??? This feature does absolutely nothing currently--any ideas on fixes? |
|
Back to top |
|
|
jamesdick628 Apprentice
Joined: 14 Oct 2004 Posts: 158 Location: Worcester, MA
|
Posted: Tue Feb 08, 2005 12:13 am Post subject: |
|
|
There is actually a very simple solution to your problem. Edit ~/.thunderbird/xxxxxxxx.default/prefs.js and add these 2 lines:
Code: |
user_pref("network.protocol-handler.app.http", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.https", "/usr/bin/firefox");
|
You should probably do this when thunderbird isn't open because I think it will overwrite your settings when you close it. That should do it. Also if you want to be able to have mailto links open thunderbird add this to ~/.mozilla/firefox/xxxxxxxx.default/prefs.js:
Code: |
user_pref("network.protocol-handler.app.mailto", "/usr/bin/thunderbird");
|
|
|
Back to top |
|
|
transient l33t
Joined: 13 Jan 2005 Posts: 759
|
Posted: Tue Feb 08, 2005 12:39 am Post subject: |
|
|
Ideally, you dont want to edit that file. There is another file called user.js which exists in the same directory.
Add those lines to that file instead. |
|
Back to top |
|
|
Newtanknurse n00b
Joined: 15 Jan 2005 Posts: 56
|
Posted: Tue Feb 08, 2005 1:02 am Post subject: |
|
|
worked like a charm, thanks |
|
Back to top |
|
|
mrelan n00b
Joined: 10 Mar 2005 Posts: 2
|
Posted: Fri Mar 11, 2005 4:46 pm Post subject: |
|
|
Hi, I had the same problem. Tried to solve it like you suggest, but everytime I open firefox, he seems to overwrite the settings. When I view the file prefs.js again, it is set back. |
|
Back to top |
|
|
xtndd n00b
Joined: 19 Sep 2004 Posts: 5
|
Posted: Tue May 10, 2005 11:44 am Post subject: |
|
|
mrelan wrote: | Hi, I had the same problem. Tried to solve it like you suggest, but everytime I open firefox, he seems to overwrite the settings. When I view the file prefs.js again, it is set back. |
I did it like this and it worked:
- close all firefox and thunderbird windows
- edit $HOME/.mozilla/firefox/*.default/user.js (create the file if it does not exist) and add the following lines:
user_pref("network.protocol-handler.app.http", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.https", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.mailto", "/usr/bin/thunderbird");
It solves both "links in thunderbird" and "mail in firefox" problems |
|
Back to top |
|
|
osbourd2 Tux's lil' helper
Joined: 09 Mar 2004 Posts: 91 Location: Cardiff, UK
|
Posted: Tue May 10, 2005 3:52 pm Post subject: |
|
|
Can anyone remind me of how to get the links from Thunderbird to open in a new tab, rather than in the current tab?
I used to have this working but it seemed to get lost when I last updated Firefox. |
|
Back to top |
|
|
gwolf Guru
Joined: 05 May 2005 Posts: 374 Location: Estonia
|
Posted: Tue May 10, 2005 5:44 pm Post subject: |
|
|
You can also emerge gconf-editor and set the default browser for gtk applications (not only Thunderbird).
To get Thunderbird links open in new tab, check your Edit->Preferences->Advanced->Tabbed Browsing settings in Firefox. |
|
Back to top |
|
|
ckiraly n00b
Joined: 30 Jun 2004 Posts: 50
|
Posted: Thu May 12, 2005 4:21 am Post subject: still not working for me... [solved] |
|
|
So I closed both firefox and thunderbird...
opened up Konsole, and went cd /home/chris/.mozilla/firefox/
then went to the *.default directory
noticed there was no user.js in there...
so I nano user.js
and added the following:
user_pref("network.protocol-handler.app.http", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.https", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.mailto", "/usr/bin/thunderbird");
then saved it...
Opened up Thunderbird. Clicked on a link. Nothing happened.
So I shut down X, and restarted. Went into Thunderbird. Clicked on a link. Nothing happened.
So what did I do wrong, or what else do I need to do?
Thanks -
- Chris
update:
on the off chance it would work, I copied the user.js file to the .thunderbird/*.default folder - and opened up thunderbird, and voila - it worked. |
|
Back to top |
|
|
gwolf Guru
Joined: 05 May 2005 Posts: 374 Location: Estonia
|
Posted: Thu May 12, 2005 7:39 am Post subject: |
|
|
Check if the locations of firefox/thunderbird are correct (they may be located somewhere else or if you installed binary packages, they may be called firefox-bin/thunderbird-bin).
Also, i think the http and https handlers should be in ~/.thunderbird/<profile>/user.js file, not in firefox's user.js file.
You may also need to add
user_pref("network.protocol-handler.external.mailto","true");
into your ~/.mozilla/firefox/<profile>/user.js |
|
Back to top |
|
|
|