Sample Header Ad - 728x90

Automatic generation of mimeapps.list database

6 votes
1 answer
861 views
In a previous [question](https://unix.stackexchange.com/q/507943/44919) I enquired about manually setting default applications for different mime types. Other than use tools one among [several tools](https://wiki.archlinux.org/index.php/default_applications#Resource_openers) , it boiled down to add an entry to ~/.config/mimeapps.list, which overrides system wide settings cached in /usr/share/applications/mimeinfo.cache. YMMV depending on your system [XDG Base Directory](https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.7.html) settings and compliance. Our distros usually sport a large mimeapps.list (more than 50 lines in my case). While there are (GUI) tools to add/modify single entries, I didn't find any standard procedure and/or tool to automatically generate the whole mimeapps.list database. If I delete mimeapps.list and install new applications, it is not rebuilt. So, _what process generates mimeapps.list?_
Asked by antonio (1533 rep)
Jul 5, 2019, 01:30 PM
Last activity: Aug 9, 2023, 08:47 AM