shared-mime-info and desktops

Yaakov Selkowitz yselkowi at redhat.com
Fri Jul 17 21:56:23 UTC 2015


On Thu, 2015-07-16 at 12:33 -0500, Rex Dieter wrote:
> +1 I'm in favor, but ship it as mimeapps.list to comply with modern related 
> standards, see:
> http://standards.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.html#file

The modern spec is what provides for desktop-specific defaults.

> Proposal: ship a generic/default mimeapps.list initially based on content of 
> gnome-mimeapps.list

A generic mimeapps.list would apply to *all* desktops, which doesn't
make much sense as the expected defaults on e.g. KDE would differ quite
a bit from GNOME.

IMO the steps to fix this are:

1) for *all* spec-compliant desktops (IOW all current GIO-based ones:
GNOME, MATE, LXDE, LXQt, XFCE) to ship their own desktop-specific
*-mimeapps.list.

2a) fix KDE to conform to the spec, OR

2b) store KDE's defaults in mimeapps.list, and make sure that the others
cover all the mimetypes provided thereby.

3) In mimeapps.list, add any Added/Removed Associations deemed
necessary.

-- 
Yaakov Selkowitz
Associate Software Engineer, ARM
Red Hat, Inc.




More information about the devel mailing list