<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Feb 2, 2014 at 6:50 PM, Rex Dieter <span dir="ltr"><<a href="mailto:rdieter@math.unl.edu" target="_blank">rdieter@math.unl.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">David Faure wrote:<br>
<br>
> On Tuesday 21 January 2014 11:01:17 Rex Dieter wrote:<br>
>> Jerome Leclanche wrote:<br>
>> > I'm finding a lot of conflicting information. Which to use? I'm using<br>
>> > mimeapps.list currently, I was certain defaults.list was the<br>
>> > deprecated one but I need an official word on this.<br>
>><br>
>> See "Default application ordering" on<br>
>> <a href="http://www.freedesktop.org/wiki/Specifications/mime-actions-spec/" target="_blank">http://www.freedesktop.org/wiki/Specifications/mime-actions-spec/</a><br>
>><br>
>> In effect, its a bit implementation specific... gnome uses defaults.list,<br>
>> kde uses a mixture of InitialPreference= key and mimeapps.list<br>
><br>
> This is a strange way of presenting it. The same mixture exists<br>
> everywhere.<br>
><br>
> The environment defaults are environment-specific, using defaults.list in<br>
> Gnome and InitialPreference= in KDE.<br>
><br>
> On top of that, mimeapps.list is standard, and can be used at the system<br>
> level (/usr/share) by ISVs<br>
<br>
</div>In my experience, stuff set in mimeapps.list in /usr/share isn't used by<br>
gnome. Should I go retest that?<br></blockquote><div><br></div><div>You should go retest that. The code is supposed to load mimeapps.list and defaults.list from $XDG_DATA_DIRS and the system data dirs (usually /usr/local/share/:/usr/share).<br>
</div><div><br>Here's the code. <a href="https://git.gnome.org/browse/glib/tree/gio/gdesktopappinfo.c">https://git.gnome.org/browse/glib/tree/gio/gdesktopappinfo.c</a><br><br></div><div>-A. Walton<br></div><div><br></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><font color="#888888"><br>
-- Rex<br>
</font></span><div class=""><div class="h5"><br>
<br>
_______________________________________________<br>
xdg mailing list<br>
<a href="mailto:xdg@lists.freedesktop.org">xdg@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xdg" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xdg</a><br>
</div></div></blockquote></div><br></div></div>