New handling for URI scheme handlers

Bastien Nocera hadess at hadess.net
Tue Oct 5 09:10:57 PDT 2010


On Tue, 2010-10-05 at 18:01 +0200, Thiago Macieira wrote:
> Em Terça-feira 05 Outubro 2010, às 17:36:52, Damjan Jovanovic escreveu:
> > On Tue, Oct 5, 2010 at 5:32 PM, Bastien Nocera <hadess at hadess.net> wrote:
> > > Heya,
> > > 
> > > This morning I implemented in GNOME use of the x-scheme-handler/*
> > > mime-type for applications to register their interest in handling
> > > particular URI schemes.
> > > 
> > > I posted about it in:
> > > http://www.hadess.net/2010/10/new-control-center-and-you.html
> > > And have a blocker bug for GNOME applications in:
> > > https://bugzilla.gnome.org/show_bug.cgi?id=631433
> > > 
> > > The attached patch is changes to the shared-mime-info spec to mention
> > > the use of x-scheme-handler/* mime-types.
> > > 
> > > Any comments?
> >
> > I love it. Does it work in KDE?
> 
> No.
> 
> KDE requires that you install a .protocol file (which is just a .desktop file 
> with a different extension) in /usr/share/kde4/services.

I should add that using a mime-type means that you get to have an
mmap'ed binary cache, which is probably the only gain above the KDE
implementation.

And you could keep both implementations as well...

Cheers



More information about the xdg mailing list