Nautilus, Thunar et al. take their information from
So the solution is to edit
.local/share/applications/mimeapps.list. Add entries in the
[Removed Associations] section like so:
Look here for some details.
You might have to do some digging to find the correct
.desktop files; note, for instance, that multiple
wine-*.desktop files declared the same application for
- The different
mimeinfo.cache files are populated by
update-desktop-database from the
.desktop files you have around. I don't know how those relate to
mimeapps.list; see here.