Recently I unearthed the solution to the problem of getting Firefox to invoke kmail for mailto: links. Now I'm confronted with the inverse problem: getting kmail to invoke Firefox to follow links embedded in email messages. Getting kmail to call Firefox is easy: the Component Chooser in the KDE Control Center. What's hard is getting Firefox to open the link. Neither Konqueror nor Mozilla has this problem. If I set the browser in the Component Chooser to mozilla or to konqueror, the cited browser is opened and displays the contents of the link. But with firefox, the browser opens an empty page. To understand this better, I issued these three commands from a shell: konqueror http://www.suse.com mozilla http://www.suse.com firefox http://www.suse.com As expected, the first two opened up the SuSE web page; the third opened a blank page. There have been a number of postings on this subject, explaining (correctly) how to make Firefox the default browser. But I can find nothing about how to get it to open the link. I looked at the firefox shell script that eventually causes firefox-bin to be invoked, and it has no references to $1 except in a function. Since I can find no one who's asked about this, I'm wondering if there was a change of behavior when Firefox was upgraded to version 1.5. So has anyone gotten this to work? If so, what's the trick? Paul
On Monday 19 December 2005 9:38 pm, Paul W. Abrahams wrote:
Recently I unearthed the solution to the problem of getting Firefox to invoke kmail for mailto: links. Now I'm confronted with the inverse problem: getting kmail to invoke Firefox to follow links embedded in email messages.
Getting kmail to call Firefox is easy: the Component Chooser in the KDE Control Center. What's hard is getting Firefox to open the link.
You didn't add %u after the absolute path to firefox binary/script, did you?
So has anyone gotten this to work? If so, what's the trick?
Paul
Stan
Recently I unearthed the solution to the problem of getting Firefox to invoke kmail for mailto: links. Now I'm confronted with the inverse problem: getting kmail to invoke Firefox to follow links embedded in email messages.
Getting kmail to call Firefox is easy: the Component Chooser in the KDE Control Center. What's hard is getting Firefox to open the link. Neither Konqueror nor Mozilla has this problem. If I set the browser in the Component Chooser to mozilla or to konqueror, the cited browser is opened and displays the contents of the link. But with firefox, the browser opens an empty page.
To understand this better, I issued these three commands from a shell:
konqueror http://www.suse.com mozilla http://www.suse.com firefox http://www.suse.com
As expected, the first two opened up the SuSE web page; the third opened a blank page.
There have been a number of postings on this subject, explaining (correctly) how to make Firefox the default browser. But I can find nothing about how to get it to open the link. I looked at the firefox shell script that eventually causes firefox-bin to be invoked, and it has no references to $1 except in a function. Since I can find no one who's asked about this, I'm wondering if there was a change of behavior when Firefox was upgraded to version 1.5.
So has anyone gotten this to work? If so, what's the trick?
Paul ========== I thought about the %u thing too Stan, but that doesn't help. I get all 3 to work the same as you posted Paul. I am using Firefox 1.0.7 though and not 1.5. Something seems to have changed between the versions and I think Stan is on the right path, but %u is not the solution, I don't
On Monday 19 December 2005 22:38, Paul W. Abrahams wrote: think. Try it with your 1.5 to let us know the outcome. Lee
On Mon December 19 2005 11:08 pm, BandiPat wrote:
On Monday 19 December 2005 22:38, Paul W. Abrahams wrote:
Recently I unearthed the solution to the problem of getting Firefox to invoke kmail for mailto: links. Now I'm confronted with the inverse problem: getting kmail to invoke Firefox to follow links embedded in email messages.
Getting kmail to call Firefox is easy: the Component Chooser in the KDE Control Center. What's hard is getting Firefox to open the link. Neither Konqueror nor Mozilla has this problem. If I set the browser in the Component Chooser to mozilla or to konqueror, the cited browser is opened and displays the contents of the link. But with firefox, the browser opens an empty page.
To understand this better, I issued these three commands from a shell:
konqueror http://www.suse.com mozilla http://www.suse.com firefox http://www.suse.com
As expected, the first two opened up the SuSE web page; the third opened a blank page.
There have been a number of postings on this subject, explaining (correctly) how to make Firefox the default browser. But I can find nothing about how to get it to open the link. I looked at the firefox shell script that eventually causes firefox-bin to be invoked, and it has no references to $1 except in a function. Since I can find no one who's asked about this, I'm wondering if there was a change of behavior when Firefox was upgraded to version 1.5.
So has anyone gotten this to work? If so, what's the trick?
Paul
========== I thought about the %u thing too Stan, but that doesn't help. I get all 3 to work the same as you posted Paul. I am using Firefox 1.0.7 though and not 1.5. Something seems to have changed between the versions and I think Stan is on the right path, but %u is not the solution, I don't think. Try it with your 1.5 to let us know the outcome.
Lee
Lee and Paul, maybe I'm not understanding the problem, but my Firefox 1.0.7 and KMail seem to work together perfectly using SuSE 9.3. If I have an html link in an e-mail I just click on it and Firefox opens and takes me to the webpage. If I have an e-mail link in a Firefox webpage I just click on that and KMail opens. As for the 3 examples posted above: konqueror http://www.suse.com mozilla http://www.suse.com firefox http://www.suse.com If I try the konqueror and firefox commands from a shell the respective browser opens and displays the Novell page -- perfect. No problems. The one difference is that I do NOT have Mozilla installed on my box, so I could not invoke that command from the shell. Maybe that's the problem you're having getting Firefox to work? Maybe having Mozilla there is somehow conflicting with Firefox and preventing Firefox and KMail from working hand-in-hand. Can you (temporarily) disable or delete Mozilla and see if Firefox will then cooperate with KMail? Gil
Lee and Paul, maybe I'm not understanding the problem, but my Firefox 1.0.7 and KMail seem to work together perfectly using SuSE 9.3.
If I have an html link in an e-mail I just click on it and Firefox opens and takes me to the webpage.
If I have an e-mail link in a Firefox webpage I just click on that and KMail opens.
As for the 3 examples posted above:
konqueror http://www.suse.com mozilla http://www.suse.com firefox http://www.suse.com
If I try the konqueror and firefox commands from a shell the respective browser opens and displays the Novell page -- perfect. No problems.
The one difference is that I do NOT have Mozilla installed on my box, so I could not invoke that command from the shell. Maybe that's the problem you're having getting Firefox to work? Maybe having Mozilla there is somehow conflicting with Firefox and preventing Firefox and KMail from working hand-in-hand.
Can you (temporarily) disable or delete Mozilla and see if Firefox will then cooperate with KMail?
Gil ========= Gil, It's not necessary for him to remove or disable Mozilla. I have all 3 installed and everything works just fine here for all 3. But I do believe Paul mentioned he was running version 1.5 Firefox, which may be
On Monday 19 December 2005 23:32, Gil Weber wrote: [...] the difference he is experiencing that we are not. Lee
On Mon December 19 2005 11:48 pm, BandiPat wrote:
On Monday 19 December 2005 23:32, Gil Weber wrote: [...]
Lee and Paul, maybe I'm not understanding the problem, but my Firefox 1.0.7 and KMail seem to work together perfectly using SuSE 9.3.
If I have an html link in an e-mail I just click on it and Firefox opens and takes me to the webpage.
If I have an e-mail link in a Firefox webpage I just click on that and KMail opens.
As for the 3 examples posted above:
konqueror http://www.suse.com mozilla http://www.suse.com firefox http://www.suse.com
If I try the konqueror and firefox commands from a shell the respective browser opens and displays the Novell page -- perfect. No problems.
The one difference is that I do NOT have Mozilla installed on my box, so I could not invoke that command from the shell. Maybe that's the problem you're having getting Firefox to work? Maybe having Mozilla there is somehow conflicting with Firefox and preventing Firefox and KMail from working hand-in-hand.
Can you (temporarily) disable or delete Mozilla and see if Firefox will then cooperate with KMail?
Gil
========= Gil, It's not necessary for him to remove or disable Mozilla. I have all 3 installed and everything works just fine here for all 3. But I do believe Paul mentioned he was running version 1.5 Firefox, which may be the difference he is experiencing that we are not.
Lee
Sorry. My misunderstanding. When you wrote: "I get all 3 to work the same as you posted Paul. I am using Firefox 1.0.7 though and not 1.5," I assumed you meant you were getting the same results as he did: konqui and firefox working but mozilla not working. Gil
On Monday 19 December 2005 11:53 pm, Gil Weber wrote:
It's not necessary for him to remove or disable Mozilla. I have all 3 installed and everything works just fine here for all 3. But I do believe Paul mentioned he was running version 1.5 Firefox, which may be the difference he is experiencing that we are not.
I'm inclined to believe also that the upgrade to version 1.5 made the difference. A number of people reported success a while ago in using Firefox with kmail, but that's before Firefox 1.5 came out. There might be a connection between the security improvements supposedly in 1.5 and the fact that it pays no attention to a URL on the command line. So is there anyone out there who's been able to get kmail links working with Firefox 1.5? And if so, what happens when you issue the command from a shell: firefox http://www.suse.com Paul
I'm inclined to believe also that the upgrade to version 1.5 made the difference. A number of people reported success a while ago in using Firefox with kmail, but that's before Firefox 1.5 came out. There might be a connection between the security improvements supposedly in 1.5 and the fact that it pays no attention to a URL on the command line.
So is there anyone out there who's been able to get kmail links working with Firefox 1.5? And if so, what happens when you issue the command from a shell:
firefox http://www.suse.com I don't use kmail, but I do have firefox 1.5 (on SuSE 9.3 with evolution 1.4). I don't have any problems opening links from within evolution (not
On Mon, 2005-12-19 at 21:01, Paul W. Abrahams wrote:
the main issue, I know), and I don't have any problem with opening links
from the command line, either. This worked fine for me with firefox
1.0.7, too.
--
Jim Cunning
Paul W. Abrahams wrote:
So is there anyone out there who's been able to get kmail links working with Firefox 1.5? And if so, what happens when you issue the command from a shell:
firefox http://www.suse.com I don't use kmail, but typing the above opens firefox AND goes to the Novell web site on mine. I use firefox 1.5 (x86_64 version).
-- Joe Morris Registered Linux user 231871
On Tuesday 20 December 2005 5:48 am, Joe Morris (NTM) wrote:
Paul W. Abrahams wrote:
So is there anyone out there who's been able to get kmail links working with Firefox 1.5? And if so, what happens when you issue the command from a shell:
firefox http://www.suse.com I don't use kmail, but typing the above opens firefox AND goes to the Novell web site on mine. I use firefox 1.5 (x86_64 version).
Eureka! Knowing that was the clue to solving the problem. Firefox wants to run out of its own directory but I didn't want to clutter $PATH with ad-hoc items such as the firefox directory. So a while ago I had placed the following shell script in /usr/local/bin/firefox: (cd /usr/local/firefox; ./firefox) That worked for activating firefox until I tried making the default browser for kmail. What that line should have been, and now is, is this: (cd /usr/local/firefox; ./firefox $@) Now everything works just fine. Thanks for your help, Joe. Paul
Paul W. Abrahams wrote:
On Monday 19 December 2005 11:53 pm, Gil Weber wrote:
It's not necessary for him to remove or disable Mozilla. I have all 3 installed and everything works just fine here for all 3. But I do believe Paul mentioned he was running version 1.5 Firefox, which may be the difference he is experiencing that we are not.
I'm inclined to believe also that the upgrade to version 1.5 made the difference. A number of people reported success a while ago in using Firefox with kmail, but that's before Firefox 1.5 came out. There might be a connection between the security improvements supposedly in 1.5 and the fact that it pays no attention to a URL on the command line.
So is there anyone out there who's been able to get kmail links working with Firefox 1.5? And if so, what happens when you issue the command from a shell:
firefox http://www.suse.com
Paul
I have FireFox 1.5 installed. When issued from a console, firefox http://www.suse.com/ opens the suse web page correctly. When issued from a KMail link, it works correctly but, without the %u option, or it will open two tabs with the same web page (suse). The problem for me is that it does not work from within Thunderbird links. However if I already have a Firefox instance running, it opens me a new instance. -- Rui Santos http://www.ruisantos.com/
On Monday 19 December 2005 11:08 pm, BandiPat wrote:
I thought about the %u thing too Stan, but that doesn't help. I get all 3 to work the same as you posted Paul. I am using Firefox 1.0.7 though and not 1.5. Something seems to have changed between the versions and I think Stan is on the right path, but %u is not the solution, I don't think. Try it with your 1.5 to let us know the outcome.
I tried "firefox %u" in the Component Chooser and it did not help me either. Paul
On Mon December 19 2005 10:38 pm, Paul W. Abrahams wrote:
Getting kmail to call Firefox is easy: the Component Chooser in the KDE Control Center. What's hard is getting Firefox to open the link. Neither Konqueror nor Mozilla has this problem. If I set the browser in the Component Chooser to mozilla or to konqueror, the cited browser is opened and displays the contents of the link. But with firefox, the browser opens an empty page. I don't have that setup, I checked the box for: open HHTP in an application based on the contents of the URL. I have under file associations setup firefox as the first app for html selections, with firefox %u for command.
-- Paul Cartwright Registered Linux user # 367800 X-Request-PGP: http://home.bellsouth.net/p/PWP-pcartwright/key.asc
On Tuesday 20 December 2005 06:13, Paul Cartwright wrote:
On Mon December 19 2005 10:38 pm, Paul W. Abrahams wrote:
Getting kmail to call Firefox is easy: the Component Chooser in the KDE Control Center. What's hard is getting Firefox to open the link. Neither Konqueror nor Mozilla has this problem. If I set the browser in the Component Chooser to mozilla or to konqueror, the cited browser is opened and displays the contents of the link. But with firefox, the browser opens an empty page.
I don't have that setup, I checked the box for: open HHTP in an application based on the contents of the URL. I have under file associations setup firefox as the first app for html selections, with firefox %u for command.
For those having this problem, what version of KDE are you using?? I am using firefox 1.0.7 and it was working fine until I upgraded to KDE 3.5 and that broke the use of firefox from kmail. However, I fixed it by placing: '/usr/bin/firefox' -remote "openURL(%u,new-window)" into the control center --> KDE components --> text --> html definition
On Tuesday 20 December 2005 11:14 am, Bruce Marshall wrote:
For those having this problem, what version of KDE are you using??
I am using firefox 1.0.7 and it was working fine until I upgraded to KDE 3.5 and that broke the use of firefox from kmail.
However, I fixed it by placing:
'/usr/bin/firefox' -remote "openURL(%u,new-window)"
into the control center --> KDE components --> text --> html definition
The KDE Components page doesn't have a "text" item. However, there are two other places in the KDE Control Center where you can specify how web pages are treated: Component Chooser and File Associations. It's not clear to me what happens if they disagree, but in any event, specifying just plain "firefox" as the Web Browser in the Component Chooser worked just fine for me once I straightened out my problem with how firefox was called in the first place. See my post earlier today (or ask about it again) for a way to call firefox without putting its directory in your execution path. To check that firefox will display the correct URL, type: firefox http://www.suse.com at a shell prompt. You should see the SuSE web page displayed in Firefox. Paul
On Tuesday 20 December 2005 12:00, Paul W. Abrahams wrote: into the control center --> KDE components --> file associations --> text --> html
definition
The KDE Components page doesn't have a "text" item. However, there are two other places in the KDE Control Center where you can specify how web pages are treated: Component Chooser and File Associations. It's not clear to me
I left out file associations
participants (9)
-
BandiPat
-
Bruce Marshall
-
Gil Weber
-
Jim Cunning
-
Joe Morris (NTM)
-
Paul Cartwright
-
Paul W. Abrahams
-
Rui Santos
-
Stan Glasoe