defaults.list or mimeapps.list?

Jerome Leclanche adys.wh at
Tue Jan 21 09:09:08 PST 2014

On Tue, Jan 21, 2014 at 5:01 PM, Rex Dieter <rdieter at> 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
> In effect, its a bit implementation specific... gnome uses defaults.list,
> kde uses a mixture of InitialPreference= key and mimeapps.list
> -- Rex
> _______________________________________________
> xdg mailing list
> xdg at


For the record, this is what I use, and what makes the most sense:

1. Unalias the mime type
2. Check default application (in mimeapps.list)
3. Check added associations (mimeapps.list)
4. Check cached associations (mimeinfo.cache), discarding excluded
ones (mimeapps.list)
5. Recursively do the same for every parent of the mime type.

I'm having a deja vu here, I think this was brought up before. Anyway...

J. Leclanche

More information about the xdg mailing list