[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Adding a URI handler to KDE



Rainer Dorsch wrote:

> I would like to handle an URI of the form xyz://bla when embedded in a
> HTML or PDF document by starting an application appxzy with the argument
> 
> appxyz xyz://bla

Hi Rainer,

You should not define a new file association but a new protocol. Have a look 
at the .protocol files in /usr/share/kde4/services/, create a new one for 
your new protocol and put it in ~/.kde/share/kde4/services/.

Regards,

Yannick


Reply to: