defaults.list or mimeapps.list?

A. Walton awalton at gnome.org
Wed Feb 5 13:56:31 PST 2014


On Sun, Feb 2, 2014 at 6:50 PM, Rex Dieter <rdieter at math.unl.edu> 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
> xdg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xdg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20140205/b547d33c/attachment.html>


More information about the xdg mailing list