Hi all,

I try to understand how should be defined the preferred application for a given mimetype according to freedesktop specifications.
I read
http://www.freedesktop.org/wiki/Specifications/mime-actions-spec
Is it still the reference document for this?

1) mimeapps.list and [Default Applications]
Since some versions, glib/gio uses a new section [Default Applications] in user ~/.local/share/applications/mimeapps.list. This section is not defined in the freedesktop mime-actions-spec; in this document, IIUC, the preferred application for a given mimetype should be the first application from [Added Associations] for this mimetype.

Is this section [Default Applications] defined somewhere in a freedesktop specification or is it gnome specific?


2) preferences order
For a given mimetype, the order of applications and the preferred application can be defined in: A - global mimeapps.list [Added Associations] (/usr/share/applications/mimeapps.list), B - global defaults.list [Default Applications] (/usr/share/applications/defaults.list), C - user mimeapps.list [Added Associations] (~/.local/share/applications/mimeapps.list),
D - user mimeapps.list [Default Applications],
E - user defaults.list [Default Applications] (~/.local/share/applications/defaults.list): is it still valid? or now deprecated?

Which order should be used to defined the user preferred application according to freedesktop specifications?

Regards,
Luc Menut
_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to