mime control in linux

gedit /usr/share/applications/defaults.list

Another easy is to right click any file like pdf and from the “properties” option get “open with” tab opened and just select your first choice. For pdf, I just remove the acrobat item and make the evince the default.

another one is /etc/mine.types