The place of mimeinfo.cache in freedesktop specs

Роман Чистоходов <[email protected]>
Newsgroups gmane.linux.xdg.devel
Message-ID <CADy21kGvj+B+tVHzFAY+iLQ2aU9xRtMVkwG5wyYLopvnX5HtxQ@mail.gmail.com>
mimeinfo.cache is automatically generated file by update-desktop-database.
Is it part of some spec? When are desktop environments expected to
re-generate mimeinfo.cache?

E.g. I'm writing installation script and it also install .desktop file with
some new MimeType. Should I call update-desktop-database or expect DE to
rebuild it for me?

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.

_______________________________________________
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.