New `MimeType` fields in .desktop

Thomas Kluyver thomas at kluyver.me.uk
Mon May 3 10:57:36 UTC 2021


On Mon, 3 May 2021, at 10:58, David Faure wrote:
> I'd like to understand why 
> https://specifications.freedesktop.org/mime-apps-spec/latest/
> doesn't solve the issue. If the distro's mimeapps.lst says
> image/jpeg=gwenview.desktop;gimp.desktop;
> then JPEG files will be opened in gwenview (if installed) rather than in GIMP,

I think this is all about the case where no mimeapps.list gives any preferred application for the mimetype - how should the launcher choose a default default application.

Of course, one answer is to say that part of the distro's role is defining default preferences in a mimeapps.lst so this doesn't come up, but there will always be cases it doesn't cover.

Thomas


More information about the xdg mailing list