<div dir="ltr">mimeinfo.cache is automatically generated file by update-desktop-database.<div>Is it part of some spec? When are desktop environments expected to re-generate mimeinfo.cache?</div><div><br></div><div>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?<br></div><div><br></div><div>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.</div><div><br></div></div>