Using KMail with netscape

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello

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
http://www.bahn.de:

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
Host: www.bahn.de

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
Host: www.bahn.de
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2)
Gecko/20021120 Netscape/7.01
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q
=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
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.

Torsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Wz4YwicyCTir8T4RAtCgAJ0dbQQ/jz7hdDuLJ6UfVqd05uHWWQCgu0ac
w/44TdRB8YA3o2ViRH2cNSE=
=Op0R
-----END PGP SIGNATURE-----
___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list