shared mime info: URI scheme handlers for non browsers

Rémi Denis-Courmont remi at
Tue Oct 18 04:50:58 PDT 2011

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.

Rémi Denis-Courmont

More information about the xdg mailing list