[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: Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date: 2000-04-28 18:18:27
[Download RAW message or body]
Waldo Bastian wrote:
>
> 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 >;-)
This is the lines I was thinking along. The app would be passed the
URL using the commandline as normal. Making things like netscape
integration straghtforward.
Rich.
>
> Cheers,
> Waldo
--
Richard Moore rich@ipso-facto.freeserve.co.uk
http://www.robocast.com/ richard@robocast.com
http://developer.kde.org/ rich@kde.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic