shared mime info: URI scheme handlers for non browsers

David Faure faure at
Thu Oct 27 09:19:42 PDT 2011

On Tuesday 18 October 2011 13:50:58 Rémi Denis-Courmont wrote:
> On Tue, 18 Oct 2011 13:16:48 +0200, Pavol Babinčák
> <pavol.babincak at> wrote:
> > On Tue, Oct 18, 2011 at 11:12, David Faure <faure at> wrote:
> >> Instead, the .desktop file should mention %u in the Exec line, so that
> >> the
> >> launchers know that this application supports HTTP urls.
> > 
> > %s doesn't itself mean it can handle HTTP URLs, does it? Reading
> > Desktop Entry Specification (I think) means it accepts argument in URL
> > format. This URL can be file or any other specified in
> > x-scheme-handler/* (according to Shared MIME-info Database spec). Or
> > am I missing something?
> Yes. That is a known ambiguity with %U. You don't know which URI schemes
> actually work. I guess, that's why KDE came up with X-KDE-Protocols.

Good guess :-)

I made a proposal on 11 Oct. 2010, on this list, to rename it to UrlSchemes 
(the name "protocols" is quite kde-specific) and include it in the spec, but 
David Zeuthen was against and the discussion died out.

David Faure, faure at,
Sponsored by Nokia to work on KDE, incl. Konqueror (
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the xdg mailing list