[Portland-bugs] [Bug 56352] xdg-mime/xdg-open does not follow mime-actions-spec
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Sep 19 11:38:48 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=56352
--- Comment #7 from Rex Dieter <rdieter at math.unl.edu> ---
Re-reading
http://standards.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.html
today.
Important bits:
---------------------------
Default Application
Indicating the default application for a given mimetype is done by writing into
the group [Default Applications] in the file mimeapps.list.
The [Default Applications] group indicates the preferred application for a
given mimetype.
---------------------------
---------------------------
Adding/removing associations
Adding and removing associations between mimetypes and applications is done
with the following syntax in the mimeapps.list file:
[Added Associations]
mimetype1=foo1.desktop;foo2.desktop;foo3.desktop
mimetype2=foo4.desktop
[Removed Associations]
mimetype1=foo5.desktop
---------------------------
---------------------------
Application ordering
The suggested algorithm for listing the applications associated to a given
mimetype is:
add any "Default Applications" and then "Added Associations" in the first
mimeapps.list
...
---------------------------
So looks like this has been clarified since the bug was filed, and that all of:
[Default Applications]
[Added Associations]
[Removed Associations]
need to be taken into account, highlighting that the xdg-open generic algorithm
definitely needs work to comply.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20140919/00bae114/attachment.html>
More information about the Portland-bugs
mailing list