Author Topic: [SOLVED] Thunderbird 3.0 update - broke link to FF  (Read 3380 times)

Offline JerryP

  • Sr. Member
  • ****
  • Posts: 451
  • "Let's GO Yankees"
[SOLVED] Thunderbird 3.0 update - broke link to FF
« on: December 12, 2009, 11:14:23 AM »
Upgraged to TB 3.0 (which is different but should be fine once I get used to it) but when I click on a link FF no longer opens or opens a window.
Checked config editor and it looked fine. Still pointed to FF 3.5.5. Added it for FTP and https but that didn't fix it. Is there something now that has to change in about:config? Maybe the question should be does anyone know what line tells FF to use TB in about:config so I can change it to TB 3.0? Or is there something else?
« Last Edit: December 15, 2009, 08:12:12 AM by JerryP »
Even the calendar asks _ _ _! after SMT

Offline redjama

  • Sr. Member
  • ****
  • Posts: 350
Re: Thunderbird 3.0 update - broke link to FF
« Reply #1 on: December 12, 2009, 11:21:34 AM »
Just tried my Thun 3.0 and no prob's on this end.  Heres the 3 lines I have and it works fine.


network.protocol-handler.app.ftp;/usr/lib/thunderbird-3.0/open-browser.sh
network.protocol-handler.app.http;/usr/lib/thunderbird-3.0/open-browser.sh
network.protocol-handler.app.https;/usr/lib/thunderbird-3.0/open-browser.sh

Offline Veritai

  • Full Member
  • ***
  • Posts: 60
Re: Thunderbird 3.0 update - broke link to FF
« Reply #2 on: December 12, 2009, 11:43:02 AM »

Offline JerryP

  • Sr. Member
  • ****
  • Posts: 451
  • "Let's GO Yankees"
Re: Thunderbird 3.0 update - broke link to FF
« Reply #3 on: December 12, 2009, 02:34:44 PM »
All great ideas but they aren't working.  It should be simple (I've learned a little).
/usr/bin/mozilla-firefox opens the browser from a terminal every time.
If one were to put /usr/bin/mozilla-firefox in TBs network.protocal... with the configuration editor it should simply work.
I kept putting it in but it wouldn't stick
So I went to the .thunderbird/...default/prefs.js a put it there and it stuck.
But it still won't open the browser.
What am I doing wrong?

BTW - rebooting didn't fix it like it sometimes does
« Last Edit: December 12, 2009, 02:44:46 PM by JerryP »
Even the calendar asks _ _ _! after SMT

Offline JerryP

  • Sr. Member
  • ****
  • Posts: 451
  • "Let's GO Yankees"
Re: Thunderbird 3.0 update - broke link to FF
« Reply #4 on: December 13, 2009, 03:48:11 AM »
I had the idea that maybe there was an add-on that might fix this and found that the link to "browse all add-ons" doesn't open a browser either.
Even the calendar asks _ _ _! after SMT

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12793
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Thunderbird 3.0 update - broke link to FF
« Reply #5 on: December 13, 2009, 04:45:21 AM »
I am terribly sorry but I cannot confirm this...

Upgraded yesterday and was testing it since then. Thunderbird / Firefox connection works like a charm here. I am using PCLinuxOS 2009 MiniMe upgraded fully and with many extra packages added.

I was never messing with thunderbird setting to get it back...

I would like to suggest this:

Please open console and type in:

Code: [Select]
su [ENTER]
Code: [Select]
roots password [ENTER]
Code: [Select]
mkdir /usr/lib/firefox [ENTER]
Code: [Select]
ln -s /usr/bin/firefox /usr/lib/firefox/firefox [ENTER]
Code: [Select]
ln -s /usr/bin/firefox /bin/pclinuxos-mozilla-firefox [ENTER]
Code: [Select]
exit [ENTER]

Console output should look similar to this:

Quote
[andrzejl@WISHMACER ~]$ su
Password:
[root@WISHMACER andrzejl]# mkdir /usr/lib/firefox
[root@WISHMACER andrzejl]# ln -s /usr/bin/firefox /usr/lib/firefox/firefox
[root@WISHMACER andrzejl]# ln -s /usr/bin/firefox /bin/pclinuxos-mozilla-firefox
[root@WISHMACER andrzejl]# exit
exit
[andrzejl@WISHMACER ~]$

When this is done close and reopen Thunderbird. Try opening any link then and report back...

Hope this helps...

Andy
« Last Edit: December 13, 2009, 04:47:29 AM by AndrzejL »

Offline spinoza

  • Full Member
  • ***
  • Posts: 233
    • At Spinoza's
Re: Thunderbird 3.0 update - broke link to FF
« Reply #6 on: December 13, 2009, 05:49:48 AM »
Andy > Thanks a lot! After having spend loads of time on different peoples suggestions I finally found yours and it works!!
It works with default protocol handlers (/usr/bin/firefox)
Without any entries in the user.js file (As suggested in another thread)

It seems like some update deleted/broke som files that your solution repairs?

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12793
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Thunderbird 3.0 update - broke link to FF
« Reply #7 on: December 13, 2009, 05:52:00 AM »
I am very glad You have found it useful my friend. Hope others will be [SOLVED] soon too :).

Andy

Offline spinoza

  • Full Member
  • ***
  • Posts: 233
    • At Spinoza's
Re: Thunderbird 3.0 update - broke link to FF
« Reply #8 on: December 13, 2009, 06:04:09 AM »
Yes hopefully it will work allround. I should say that I am using 2009 MiniMe too.

Offline CheeseQueen452

  • Hero Member
  • *****
  • Posts: 592
Re: Thunderbird 3.0 update - broke link to FF
« Reply #9 on: December 13, 2009, 07:14:54 AM »
I simply changed the value to "firefox", & it works fine for me....

Just tried my Thun 3.0 and no prob's on this end.  Heres the 3 lines I have and it works fine.


network.protocol-handler.app.ftp;/usr/lib/thunderbird-3.0/open-browser.sh
network.protocol-handler.app.http;/usr/lib/thunderbird-3.0/open-browser.sh
network.protocol-handler.app.https;/usr/lib/thunderbird-3.0/open-browser.sh

Offline The Chief

  • Hero Member
  • *****
  • Posts: 2231
Re: Thunderbird 3.0 update - broke link to FF
« Reply #10 on: December 13, 2009, 07:40:21 AM »

I would like to suggest this:

Please open console and type in:


Sorry, Andy - I've tried all of it, and nothing seems to work.

Right now, I'm back to all the default conditions (I think) - however it was left after the update to TB 3.0, as best I can tell, and links in TB not doing anything.

Retired Senior Chief, Retired Software Engineer, Active GrandPa

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12495
Re: Thunderbird 3.0 update - broke link to FF
« Reply #11 on: December 13, 2009, 12:50:12 PM »
Thunderbird calls a script  /usr/lib/thunderbird-3.0/openbrowers.sh and attempts to read the preferred browser from the gconf settings.

If you want, you can edit the script and just add exec firefox after the #Exit with Error Message.

# Exit with Error Message
exec firefox


or you can copy and paste in a terminal console.

gconftool-2 -s /desktop/gnome/url-handlers/http/command '/usr/bin/firefox %s' --type String
gconftool-2 -s /desktop/gnome/url-handlers/https/command '/usr/bin/firefox %s' --type String

Thanks to everyone who donates. You keep the servers running.

Offline silverbirch

  • Sr. Member
  • ****
  • Posts: 370
Re: Thunderbird 3.0 update - broke link to FF
« Reply #12 on: December 13, 2009, 05:20:15 PM »
I tried adding "exec firefox" to the file specified but links still don't open.

For the second option do I need to be in a specific file, or just open a terminal and copy those two line?
Many thanks
Pclinuxos 2010.1 KDE on AMD Athlon XP (runs as1.8 Ghz), 1 G memory, on board VIA graphics and sound

Offline silverbirch

  • Sr. Member
  • ****
  • Posts: 370
Re: Thunderbird 3.0 update - broke link to FF SOLVED (for me at least)
« Reply #13 on: December 13, 2009, 05:40:37 PM »
In the end I did them all!!

Added "exec firefox" and the two lines of script Texstar gave us, then went to Tbird and changed the network protocol handlers as below, and it now works.  Hope I haven't done irreparable damage to anything else in the process!!  Thanks all


network.protocol-handler.app.ftp;open-browser.sh
network.protocol-handler.app.https;open-browser.sh
network.protocol-handler.app.http;open-browser.sh
« Last Edit: December 13, 2009, 05:42:20 PM by silverbirch »
Pclinuxos 2010.1 KDE on AMD Athlon XP (runs as1.8 Ghz), 1 G memory, on board VIA graphics and sound

Offline horusfalcon

  • Hero Member
  • *****
  • Posts: 997
  • Wayfarer of The Western Wastes
Re: Thunderbird 3.0 update - broke link to FF {PCLOS 2009.2 KDE-3}
« Reply #14 on: December 14, 2009, 04:44:57 AM »
Yeah, count me in.  I'm one of the early adopters who can no longer call firefox from thunderbird now that 3.0 is installed. (I'm running firefox 3.5.5, also).  I've been using update-notifier to stay up to date since last month (it bugs me about every four hours), so I'm reasonably well updated.

Thunderbird calls a script  /usr/lib/thunderbird-3.0/openbrowers.sh and attempts to read the preferred browser from the gconf settings.

Forgive me for being a literalist:  isn't the name of the script open-browser.sh as opposed to openbrowsers.sh?

Quote
If you want, you can edit the script and just add exec firefox after the #Exit with Error Message.

# Exit with Error Message
exec firefox

I've done this, still no luck.

Quote
or you can copy and paste in a terminal console.

gconftool-2 -s /desktop/gnome/url-handlers/http/command '/usr/bin/firefox %s' --type String
gconftool-2 -s /desktop/gnome/url-handlers/https/command '/usr/bin/firefox %s' --type String


If you will, please break this down a bit.  Are we running these lines as commands from a root console, or adding them to the open-browser.sh script?  I'm not at all familiar with gconftool (maybe I should learn a bit about it?  I'm a KDE man, myself, and this looks kinda like a GNOME tool.)

I'm still having trouble with this, and this isn't the first time I've seen a problem like this between firefox and thunderbird - none of the other solutions I've tried in the past has worked (editing about:config, editing user.js, didn't find /etc/thunderbird.conf and didn't want to just create one yet...)  If it's any consolation, editing the preferences in firefox's about:config page did restore the mailto functionality so firefox will call thunderbird, it just doesn't work the other way around yet.

Eh.  I'll putter around and see what I'm missing, and check back here later.
« Last Edit: December 31, 2010, 01:10:18 PM by horusfalcon »
"The Way is not a matter of knowing or not knowing.  One word to a wise man; one lash to a bright horse."

Dell Latitude D620, PCLinuxOS 2012.08 KDE4/LXDE, 3.2.18.pclos.bfs, specs here.