<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - xdg-mime/xdg-open does not follow mime-actions-spec"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56352#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - xdg-mime/xdg-open does not follow mime-actions-spec"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56352">bug 56352</a>
from <span class="vcard"><a class="email" href="mailto:rdieter@math.unl.edu" title="Rex Dieter <rdieter@math.unl.edu>"> <span class="fn">Rex Dieter</span></a>
</span></b>
<pre>Re-reading
<a href="http://standards.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.html">http://standards.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.html</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>