You are not logged in.

#1 2007-10-25 03:09:59

CaspianXI
Member
Registered: 2007-05-29
Posts: 59

Clicking a Link in Thunderbird - open with Firefox.

This seems like it should be really simple...

In Thunderbird, I click on a link and nothing happens. I've edited my prefs.js file to include these lines:

user_pref("network.protocol-handler.app.http", "/opt/mozilla/bin/firefox");
user_pref("network.protocol-handler.app.ftp", "/opt/mozilla/bin/firefox");
user_pref("network.protocol-handler.app.https", "/opt/mozilla/bin/firefox");

After I restart Thunderbird, still nothing happens when I click on a link.

The crazy thing is that when I open up prefs.js again, the lines I added are gone. And it's not that Thunderbird has reordered the lines in prefs.js (I've searched through the file)... it's as if Thunderbird hates Firefox wink.

Where am I going wrong?

Thanks.

Offline

#2 2007-10-25 03:30:10

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: Clicking a Link in Thunderbird - open with Firefox.

Try: Thunderbird Configured to Open Links
Note: it's basically the same thing you're doing, just using the built-in configuration editor...

Last edited by elasticdog (2007-10-25 03:30:40)

Offline

#3 2007-10-25 04:06:02

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,395
Website

Re: Clicking a Link in Thunderbird - open with Firefox.

Put the lines in "user.js".  The file "prefs.js" is for Thunderbird's internal use.

Offline

#4 2007-10-25 11:36:14

CaspianXI
Member
Registered: 2007-05-29
Posts: 59

Re: Clicking a Link in Thunderbird - open with Firefox.

Sweet... it works smile. Thanks, elasticdog!

Allan, I can't find the user.js file inside the .thunderbird/**.default/ directory

Weird... those lines now appear in prefs.js smile. I wish I could just edit the file (I like config files better than this GUI interface). Well, at least it works big_smile. Thanks!

Offline

#5 2007-10-25 12:15:28

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,395
Website

Re: Clicking a Link in Thunderbird - open with Firefox.

Yeah, you need to make user.js yourself....

Offline

#6 2007-10-25 13:26:28

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Clicking a Link in Thunderbird - open with Firefox.

isn't it sufficient to set the browser variable to firefox?
in your ~./bashrc:

"export BROWSER="firefox""

Offline

#7 2007-10-25 15:25:24

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Clicking a Link in Thunderbird - open with Firefox.

find . -name user.js :-) or pref.js etc....


Mr Green

Offline

#8 2007-10-25 18:43:42

hybrid
Member
Registered: 2007-02-05
Posts: 261

Re: Clicking a Link in Thunderbird - open with Firefox.

DonVla wrote:

isn't it sufficient to set the browser variable to firefox?
in your ~./bashrc:

"export BROWSER="firefox""

I just tried that and it did not work for me.
edit: To clarify that: exporting the variable $BROWSER="firefox" or $BROWSER="/opt/mozilla/bin/firefox" did not work for me. network.protocoll-handler.app.* does work (and it's the way shown on mozilla-zine (mozilla.com)).

Last edited by hybrid (2007-10-25 18:59:29)

Offline

#9 2007-10-26 21:42:24

CaspianXI
Member
Registered: 2007-05-29
Posts: 59

Re: Clicking a Link in Thunderbird - open with Firefox.

Thanks... since using about:config worked, I think I'll leave well enough alone wink, but it's nice to know that I can create user.js.

Thanks again big_smile.

Offline

#10 2007-10-26 22:31:24

insane
Member
Registered: 2006-06-04
Posts: 106

Re: Clicking a Link in Thunderbird - open with Firefox.

BTW the lines are gone because you should edit that file with thunderbird closed. If it is running while you are editing  prefs.js then the file is rewritten.

Offline

#11 2007-10-27 00:23:12

CaspianXI
Member
Registered: 2007-05-29
Posts: 59

Re: Clicking a Link in Thunderbird - open with Firefox.

No, I edited prefs.js when Thunderbird was closed. I'm not sure why Thunderbird didn't like those lines.

Offline

#12 2011-03-24 14:44:46

edacval
Member
From: .LT
Registered: 2008-10-23
Posts: 91

Re: Clicking a Link in Thunderbird - open with Firefox.

Offline

Board footer

Powered by FluxBB