LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-08-2006, 07:25 AM   #1
chakatz
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian; kubuntu; RedHat; Mandriva; Gentoo
Posts: 12

Rep: Reputation: 0
Question Links in Thunderbird do not open Firefox on KDE


I use Thunderbird for email and prefer Firefox as my web browser.

When I click on links from within Thunderbird, Konqueror is always opened.

If I choose Firefox as the default web browser in: KDE Control Center >
KDE Components > Component Chooser, Konqueror is still opened up but then
Konqueror seems to pass the link on to Firefox. So I end up with two
windows open, Konqueror with the URL in the Location box but without the
page being displayed and then a Firefox window. This is not fun. Any
suggestions?


Versions:
Debian Sarge
KDE 3.3.2
Thunderbird (Debian) 1.0.2
Firefox 1.0.4
 
Old 01-08-2006, 08:08 AM   #2
T.Hsu
Member
 
Registered: Jan 2005
Posts: 178

Rep: Reputation: 31
update-alternative --config x-www-browser ?

another universal solution, save the following codes to a file,

Code:
#!/bin/sh
export MOZILLA_FIVE_HOME="/opt/firefox"

url="$1"
if [ ! "$url" ]; then
        url="about :blank"
fi

if $MOZILLA_FIVE_HOME/mozilla-xremote-client -a firefox openURL\("$url",new-tab\); then
        exit 0
fi

$MOZILLA_FIVE_HOME/firefox "$url"

exit 0
make the file executable, add the following line to pref.js in thunderbird's profile directory, be sure edit that file while thunderbird isn't running

Code:
user_pref("network.protocol-handler.app.http", "/path/to/that/file");
 
Old 01-08-2006, 09:28 AM   #3
chakatz
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian; kubuntu; RedHat; Mandriva; Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks T.Hsu,

I used
Code:
update-alternatives --config x-www-browser
and it solved this longtime problem. Notice thought that it is 'update-alternatives' with an 's' and not
Quote:
update-alternative

Last edited by chakatz; 01-08-2006 at 09:39 AM.
 
Old 01-08-2006, 09:31 AM   #4
chakatz
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian; kubuntu; RedHat; Mandriva; Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
Smile

BTW,
Do you know the difference between using 'update-alternatives --config' instead of just changing the symlink manually?

Last edited by chakatz; 01-08-2006 at 09:41 AM.
 
Old 01-08-2006, 09:31 AM   #5
T.Hsu
Member
 
Registered: Jan 2005
Posts: 178

Rep: Reputation: 31
Yes, I've made a typo.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Thunderbird doesn't open links johnerskine SUSE / openSUSE 4 03-15-2005 10:08 AM
firefox won't open links in new window lukameen Slackware 13 03-15-2005 07:14 AM
Open URLs from Thunderbird in Firefox digitalhead Linux - Software 6 03-04-2005 03:03 PM
Handling Links with Firefox, Thunderbird, and Gaim apachedude Linux - Software 1 02-11-2005 08:07 AM
Can't open URL links in Thunderbird unixfreak Linux - Newbie 4 10-18-2004 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration