shared mime info: URI scheme handlers for non browsers

Bastien Nocera hadess at hadess.net
Mon Oct 31 08:39:35 PDT 2011


On Tue, 2011-10-18 at 13:50 +0200, Rémi Denis-Courmont wrote:
> On Tue, 18 Oct 2011 13:16:48 +0200, Pavol Babinčák
> <pavol.babincak at gmail.com> wrote:
> > On Tue, Oct 18, 2011 at 11:12, David Faure <faure at kde.org> 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.

That's good, because it's not the goal of x-scheme-handler/* to defined
which protocols your application handles, just that it wants to handle
all URLs of this protocol.



More information about the xdg mailing list