Created attachment 1216 [details] Patch The current implementation in src/procmime.c for reading the shared-mime-info glob files only look in one single directory, a hardcoded default (/usr/share on linux). It should look in all of $XDG_DATA_HOME:$XDG_DATA_DIRS and fallback to defaults $HOME/.local/share and /usr/share if those are not set combining the result as it goes. I attach patch that tries to do this.