System-wide inside /usr/share/applications
a number of .desktop files is used to generate mimeinfo.cache
User specific .desktop files:
~/.local/share/applications/
User specific mime type associations are stored in:
~/.config/mimeapps.list
This file contains a section [Default Applications]