handling optional MimeTypes in a Desktop Entry
Rex Dieter
rdieter at math.unl.edu
Tue Apr 29 07:20:10 PDT 2014
François Cami wrote:
> I've read the Desktop Entry Specification at
> http://standards.freedesktop.org/desktop-entry-spec/latest/index.html
> and haven't found an answer to my problem, so here goes:
>
> If I were to write an application able to open one or zero MimeType
> by default, and optionally-installed plugins providing support for
> more MimeType, should I:
...
> * ship a Desktop Entry with the application and with each plugin, with
> the same "Name" key, so that the list of MimeTypes supported by the
> application gets somehow merged by the Desktop Entry implementation -
> though unless I'm mistaken this is not in the specification;
+1 to this option (several kde applications do it this way now, including
okular for example)
-- rex
More information about the xdg
mailing list