Re: The place of mimeinfo.cache in freedesktop specs

Maxwell Anselm <[email protected]>
Newsgroups gmane.linux.xdg.devel
Message-ID <CAPSXHrW8yBn27+kpWme0g9dshP5RLAqBJsn4Gf7t0kzewH7Wtw@mail.gmail.com>
>
> I also found that xdg-open does not take mimeinfo.cache files into
> account, so applications that use xdg-open sometimes fail to properly open
> programs associated with the url unless association is in mimeapps.list.
>

If the standard is being followed, mimeapps.list is what xdg-open should be
reading from since it determines which application is the default opener of
each MIME type. mimeinfo.cache is only used as a shortcut to find all
applications associated with a MIME type (without re-scanning every
.desktop file); it should not be relied on to determine default
applications.

At least on Arch Linux, mimeinfo.cache is automatically rebuilt whenever
desktop applications are added/removed. I would expect that other
distributions work similarly.

_______________________________________________
xdg mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xdg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.