[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Helper protocols
From:       Richard Moore <rich () kde ! org>
Date:       2000-04-30 17:45:43
[Download RAW message or body]

I've just added support for helper protocols to KRun as discussed. I
decided
to leave the mailto stuff alone as it needs slightly different handling
to
cover old mailers etc. I would however like to see apps like kmail
supporting
the new version as it allows access to some of the more powerful
features
of mailto urls (by allowing the mailer access to the whole URL including
parameters).

Here is an example of a helper protocols config file:

[Protocol]
exec=xmessage -center %u
protocol=alert
input=none
output=none
helper=true
reading=false
writing=false
makedir=false
deleting=false

As you might expect, this protocol simply pops up a window containing
the URL,
but you get the idea. The important thing to note is the helper=true
line, and
also that the exec line in a helper protocol file has the semantics of a
normal
.desktop file instead of being just the name of the binary to run.

Rich.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic