The place of mimeinfo.cache in freedesktop specs
Maxwell Anselm
silverhammermba at gmail.com
Mon Apr 24 13:59:52 UTC 2017
>
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/xdg/attachments/20170424/1b77a092/attachment.html>
More information about the xdg
mailing list