On Tuesday 06 December 2005 01:57, Paul W. Abrahams wrote:
Firefox (like most browsers) has an option for sending a link. I want to use kmail for that purpose. After a lot of googling, mostly through
this
list, I came up with the setting in about:config:
network.protocol-handler.app.mailto kmail
Now when I select File / Send Link, I get an open kmail message, as I should -- but it doesn't have the link in it. I've also tried setting the value of that variable to "kmail %s" and to "kmail %u", but neither of those seems to do the trick. Which leads to two questions:
1. How can I get the link to be inserted into the message?
use "kfmclient exec %s" in Firefox's about:config network.protocol-handler.app.mailto key.
Explanation: Firefox just passes the whole mailto: url to the app it launches. KMail, if you launch it with "kmail mailto:foo@bar.org?subject=hello&bcc=frobozz@gue.net", doesn't parse the URL beyond the email address. kfmclient is a launcher for almost any kind of file or URL under KDE, it uses KDE magic to figure out what to do with the URL.
Hey, I just asked and got an answer to the same question on alt.os.linux.suse. I wrote up an article about it this morning: http://www.perfectreign.com/modules/articles/article.php?id=13 If you don't mind, I'll put your explination into the article. -- kai ponte www.perfectreign.com linux - genuine windows replacement part