This question already has an answer here:
I am currently trying to use texstudio as the default application for opening
*.tex files, but I cannot change the default application associated with that file type.
I tried to change it by right-clicking on the .TEX file, then Properties, Open with, Show other applications. However, neither texmaker nor texstudio will appear in the programs list and oddly enough, there is no "add application" button anymore.
I tried to make an entry in my
/home/user/.local/share/applications/mimeapps/mimeapps.list but nothing happened.
Is there no way to change the list of "other applications" or add an default application program manually?