Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox/thunderbird
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Newtanknurse
n00b
n00b


Joined: 15 Jan 2005
Posts: 56

PostPosted: Tue Feb 08, 2005 12:07 am    Post subject: Firefox/thunderbird Reply with quote

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
View user's profile Send private message
jamesdick628
Apprentice
Apprentice


Joined: 14 Oct 2004
Posts: 158
Location: Worcester, MA

PostPosted: Tue Feb 08, 2005 12:13 am    Post subject: Reply with quote

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
View user's profile Send private message
transient
l33t
l33t


Joined: 13 Jan 2005
Posts: 759

PostPosted: Tue Feb 08, 2005 12:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Newtanknurse
n00b
n00b


Joined: 15 Jan 2005
Posts: 56

PostPosted: Tue Feb 08, 2005 1:02 am    Post subject: Reply with quote

worked like a charm, thanks
Back to top
View user's profile Send private message
mrelan
n00b
n00b


Joined: 10 Mar 2005
Posts: 2

PostPosted: Fri Mar 11, 2005 4:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
xtndd
n00b
n00b


Joined: 19 Sep 2004
Posts: 5

PostPosted: Tue May 10, 2005 11:44 am    Post subject: Reply with quote

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
View user's profile Send private message
osbourd2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Mar 2004
Posts: 91
Location: Cardiff, UK

PostPosted: Tue May 10, 2005 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
gwolf
Guru
Guru


Joined: 05 May 2005
Posts: 374
Location: Estonia

PostPosted: Tue May 10, 2005 5:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
ckiraly
n00b
n00b


Joined: 30 Jun 2004
Posts: 50

PostPosted: Thu May 12, 2005 4:21 am    Post subject: still not working for me... [solved] Reply with quote

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
View user's profile Send private message
gwolf
Guru
Guru


Joined: 05 May 2005
Posts: 374
Location: Estonia

PostPosted: Thu May 12, 2005 7:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum