On Sun, Feb 2, 2014 at 6:50 PM, Rex Dieter <[email protected]> wrote:
> David Faure wrote: > > > On Tuesday 21 January 2014 11:01:17 Rex Dieter wrote: > >> Jerome Leclanche wrote: > >> > I'm finding a lot of conflicting information. Which to use? I'm using > >> > mimeapps.list currently, I was certain defaults.list was the > >> > deprecated one but I need an official word on this. > >> > >> See "Default application ordering" on > >> http://www.freedesktop.org/wiki/Specifications/mime-actions-spec/ > >> > >> In effect, its a bit implementation specific... gnome uses > defaults.list, > >> kde uses a mixture of InitialPreference= key and mimeapps.list > > > > This is a strange way of presenting it. The same mixture exists > > everywhere. > > > > The environment defaults are environment-specific, using defaults.list in > > Gnome and InitialPreference= in KDE. > > > > On top of that, mimeapps.list is standard, and can be used at the system > > level (/usr/share) by ISVs > > In my experience, stuff set in mimeapps.list in /usr/share isn't used by > gnome. Should I go retest that? > 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). Here's the code. https://git.gnome.org/browse/glib/tree/gio/gdesktopappinfo.c -A. Walton > -- Rex > > > _______________________________________________ > xdg mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/xdg >
_______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
