Using KMail with netscape

Torsten Foertsch torsten.foertsch at
Tue Feb 25 09:57:40 GMT 2003

Hash: SHA1


How can I configure KMail to start a browser other than konqueror e.g.
netscape or something like 'netscape --remote ...'?

Is it possible to have netscape/mozilla start 'kmail --compose' on mailto:
links? If yes, how?

Concerning the 1st question I have done some experiments. I have written a 
script to start netscape and associated it with the text/html mime type. Then 
the following happens:

At first kmail uses konqueror to fetch the page (it emits a GET
request). Then it determines the mime type to make a decision what
application to start. Based on text/html it starts netscape that fetches
the page again.

Here is a bit of sniffing on the network while clicking on

GET / HTTP/1.1
User-Agent: Mozilla/5.0 (compatible; Konqueror/3; Linux)
Accept: text/*, image/jpeg, image/png, image/*, */*
Accept-Encoding: x-gzip, gzip, identity
Accept-Charset: iso-8859-1, utf-8;q=0.5, *;q=0.5
Accept-Language: en

HTTP/1.1 200 OK
Date: Mon, 24 Feb 2003 10:58:04 GMT
Server: Apache/1.3.26 (Unix) mod_perl/1.26 mod_ssl/2.8.9 OpenSSL/0.9.6c
Transfer-Encoding: chunked
Content-Type: text/html

GET / HTTP/1.1
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2)
Gecko/20021120 Netscape/7.01
Accept-Language: en-us, en;q=0.50
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Keep-Alive: 300
Connection: keep-alive

HTTP/1.1 200 OK
Date: Mon, 24 Feb 2003 10:58:05 GMT
Server: Apache/1.3.26 (Unix) mod_perl/1.26 mod_ssl/2.8.9 OpenSSL/0.9.6c
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html

I believe the same happens when a https link is clicked.

But I also get mails with https links that require client certificates that 
are not installed in konqueror. Thus, the first request with konqueror fails 
and kmail says "Could not connect to host ...".

What I really want is that kmail starts my script when it encounters a
http://... or https://... link based on that pattern not on the mime type.

Version: GnuPG v1.0.7 (GNU/Linux)

This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list