Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old August 27th, 2005   #1
aysiu
HP Mini 1120nr User
 
aysiu's Avatar
 
Join Date: May 2005
Location: US
My beans are hidden!
Ubuntu 9.10 Karmic Koala
Clicking on links in Thunderbird and having them open in Firefox [Resolved]

I love Mozilla's Thunderbird and Firefox programs, but I have to say they haven't turned out as well in Linux for me as they have in Windows. For example, in Windows, I love how I can use the keyboard shortcut Control-1, Control-2, Control-3, etc. to go to the first, second, or third tabs, respectively. In the Linux Firefox, I have to use alt-1, alt-2, alt-3, etc., which is a little bit of a hand coordination inconvenience, as I use Control for everything else (Control-W to close a tab, Control-Tab to move to the next tab). But, you know what? That's fine.

Another inconvenience seems a bit ludicrous to me, though, and I'm wondering 1. am I the only one who's experiencing this? and 2. does anyone know if there's a fix for this?

So, here's the problem. If someone sends me a URL in an email, and I click on that URL, rather than opening up in an existing Firefox window, it opens up in a new window, and (more importantly), the link doesn't even open up. The new window simply displays my homepage. I Googled about it but couldn't find a solution.

I did figure out a kind of workaround--the Launchy Thunderbird extension--whereby I can right-click on the URL in the email, and in the context menu select "Launchy," and then "Open Link in Firefox," and it will open properly (old Firefox window, new tab, actual page--not my homepage). But it doesn't make sense to me that I should have to do three steps instead of one to see a page someone's emailed me.

Has this happened to anyone else? Is my computer being a freak?
__________________
tutorials | blog |
advice | more advice
aysiu is offline   Reply With Quote
Old August 27th, 2005   #2
manicka
Guest
 
Beans: n/a
Re: Clicking on links in Thunderbird and having them open in Firefox

I don't have this problem using evolution. Maybe as you suggest it is a thunderbird issue and the launchy workaround may be your only solution.
  Reply With Quote
Old August 27th, 2005   #3
astoltz
Way Too Much Ubuntu
 
Join Date: Nov 2004
Location: Denver, Colorado
Beans: 325
Ubuntu 9.10 Karmic Koala
Re: Clicking on links in Thunderbird and having them open in Firefox

My thunderbird / firefox is working like you describe - e-mail links open in a new firefox tab. It's been a while since I've tweaked this but I think this worked for me.

edit the ~/.mozilla-thunderbird/[profile_dir]/prefs.js file and add (or change) the following:
Code:
user_pref("network.protocol-handler.app.http", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.https", "/usr/bin/firefox");
Your path to firefox may be diferent.

Then, in firefox, open the advanced section of the preferences and in "Tabbed Browsing - Open links from other applications in:", select "a new tab in the most recent window".
astoltz is offline   Reply With Quote
Old August 28th, 2005   #4
aysiu
HP Mini 1120nr User
 
aysiu's Avatar
 
Join Date: May 2005
Location: US
My beans are hidden!
Ubuntu 9.10 Karmic Koala
Re: Clicking on links in Thunderbird and having them open in Firefox

Quote:
Originally Posted by astoltz
edit the ~/.mozilla-thunderbird/[profile_dir]/prefs.js file and add (or change) the following:
Code:
user_pref("network.protocol-handler.app.http", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.https", "/usr/bin/firefox");
Your path to firefox may be diferent.
Wow! Thank you so much! That was the fix. It worked! Thanks again.
__________________
tutorials | blog |
advice | more advice
aysiu is offline   Reply With Quote
Old December 31st, 2005   #5
Michael Matthews
Just Give Me the Beans!
 
Michael Matthews's Avatar
 
Join Date: Oct 2005
Beans: 52
Re: Clicking on links in Thunderbird and having them open in Firefox

This did not work for me. I have same problem in thunderbird and evolution.
Seems to be a firefox issue or an interface issue. Does any one know how to get firefox to open a link via cli? I used to know the netscape method but forget.
It is very annoying. Why is this broken in linux but works for windows.
Michael Matthews is offline   Reply With Quote
Old January 19th, 2006   #6
seakiwi
Just Give Me the Beans!
 
Join Date: Jan 2006
Location: New Zealand
Beans: 68
Re: Clicking on links in Thunderbird and having them open in Firefox

Quote:
Originally Posted by astoltz
My thunderbird / firefox is working like you describe - e-mail links open in a new firefox tab. It's been a while since I've tweaked this but I think this worked for me.

edit the ~/.mozilla-thunderbird/[profile_dir]/prefs.js file and add (or change) the following:
Code:
user_pref("network.protocol-handler.app.http", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.https", "/usr/bin/firefox");
Your path to firefox may be diferent.

Then, in firefox, open the advanced section of the preferences and in "Tabbed Browsing - Open links from other applications in:", select "a new tab in the most recent window".
I've been having this same problem. I tried your suggestion but for some reason I don't <B>have</B> a profile directory under ~/.mozilla-thunderbird

The only directory under ~/.mozilla-thunderbird is:

ht8arr8h.default

and under that are chrome, extensions. mail and US

The only reference anywhere to anything remotely related to profiles is a profile.ini file. No sign of any user.js anywhere.

Can I create one with your "fix" lines in it, and if so, where would I create it? I have no idea why I have no profile directory - although I'm using the default profile as I'm the only user, so perhaps that's why?

EDIT: Never mind - I found it. Slight brain freeze moment there
One other thing though ... is there anyway to make links open in the foreground? They now open in FF OK but they open behind Thunderbird. Can I make the focus go to the link page somehow?

Last edited by seakiwi; January 19th, 2006 at 04:22 PM..
seakiwi is offline   Reply With Quote
Old January 24th, 2006   #7
bschuteker
5 Cups of Ubuntu
 
bschuteker's Avatar
 
Join Date: Dec 2005
Location: Charleston, SC USA
Beans: 35
Ubuntu 7.04 Feisty Fawn
Re: Clicking on links in Thunderbird and having them open in Firefox

I am not much with the command line (yet) but I was able to accomplish this another way.
1. go to >System>preferences>preferred applications>
under browser I have firefox selected and mail reader is thunderbird (nothing in the custom)
2. I have the tab browser prefrences extension loaded in FX

Didn't have to modify anything. This worked with FX 1.0.7 and after I used Automatix to upgrade to FX 1.5 I reinstalled extensions and it works like a charm.

Mail to: links in FX also open in TB

Happy Geeking,

Bill
bschuteker is offline   Reply With Quote
Old January 28th, 2006   #8
tntc1978
A Carafe of Ubuntu
 
tntc1978's Avatar
 
Join Date: Jan 2006
Location: Rødovre, Denmark
Beans: 68
Ubuntu 9.10 Karmic Koala
Wink Re: Clicking on links in Thunderbird and having them open in Firefox

Quote:
Originally Posted by bschuteker
I am not much with the command line (yet) but I was able to accomplish this another way.
1. go to >System>preferences>preferred applications>
under browser I have firefox selected and mail reader is thunderbird (nothing in the custom)
2. I have the tab browser prefrences extension loaded in FX

Didn't have to modify anything. This worked with FX 1.0.7 and after I used Automatix to upgrade to FX 1.5 I reinstalled extensions and it works like a charm.

Mail to: links in FX also open in TB

Happy Geeking,

Bill
This worked like a charm for me too. I couldn't edit the prefs.js file, but Bills solution seems more userfriendly to me
tntc1978 is offline   Reply With Quote
Old February 4th, 2006   #9
disciple
Just Give Me the Beans!
 
Join Date: Dec 2005
Location: Trinidad,West Indies
Beans: 50
Gutsy Gibbon Testing
Re: Clicking on links in Thunderbird and having them open in Firefox

the editing described by astolz worked for me..
firefox 1.5.0.1
thunderbird 1.5
disciple is offline   Reply With Quote
Old February 10th, 2006   #10
hashimoto
Way Too Much Ubuntu
 
Join Date: Oct 2004
Location: N63,0056 E21,0248
Beans: 315
Re: Clicking on links in Thunderbird and having them open in Firefox

Quote:
Originally Posted by Michael Matthews
This did not work for me. I have same problem in thunderbird and evolution.
Seems to be a firefox issue or an interface issue. Does any one know how to get firefox to open a link via cli? I used to know the netscape method but forget.
It is very annoying. Why is this broken in linux but works for windows.
Make sure that Thunderbird (Firefox also?) is not running. If it is running the cahnges will be overwritten when the program exits. This is also said on the top of the opened .js file.
__________________
BR
Hashimoto

This mail may contain inaccurate information and faulty instructions. Use it with your own responsibility.
hashimoto is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:29 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry