update-desktop-database and nested desktop files

Rex Dieter rdieter at math.unl.edu
Fri Aug 17 15:43:57 PDT 2012


Jerome Leclanche wrote:

> I was experimenting with my xdg library and I tried to add a MimeType key
> to /home/adys/.local/share/applications/wine/Programs/Steam/Steam.desktop.
> 
> This created the following key in mimeinfo.cache:
> 
> x-scheme-handler/steam=wine-Programs-Steam-Steam.desktop;
> 
> I'm guessing this isn't intended behaviour? What's up with this?

That is intended, dirs under applications/ are treated as vendor prefixes.

See 
http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html#merge-
algorithm

and search for "vendor prefix" phrase.

-- rex



More information about the xdg mailing list