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

List:       kde-core-devel
Subject:    Re: Binding an app to a protocol (KVNC)
From:       Waldo Bastian <bastian () kde ! org>
Date:       2000-04-28 17:56:05
[Download RAW message or body]

On Fri, 28 Apr 2000, aleXXX wrote:
> On Fri, 28 Apr 2000, Waldo Bastian wrote:
> >On Thu, 27 Apr 2000, Richard Moore wrote:
> >> I would like to bind the app to a protocol so that you could
> >> have say:
> >> vnc://my.host:display/
> >> And get KVNC triggered, like the way a mailto url works. Does
> >> anyone know how to do this?
> >
> >There is no decent way for mailto-urls currently. It's all more or less
> >ad-hoc code. I think it's all in kdelibs/kio. Feel free to turn it into a
> >decent expandable solution which meets your needs.
> >
> >Cheers,
> >Waldo
>
> I think a good idea would be a "MimeType"  for hosts. Then apps (kvnc,
> ktalk, rlogin,...) could be assigned to this mimetype.
>
> A directory of hosts can be created e.g by using kio_smb and I have some
> code lying around for listing hosts on a LAN without smb (not finished
> yet).

Hosts?? I would rather make it a MimeType for protocols. Then we can say that 
"vnc" should be handled by kvnc and "mailto" by kmail. And people who don't 
like konqueror can bind "http" to netscape >;-)

Cheers,
Waldo

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

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