Need some help with a file association problem

Deadjasper

2[H]4U
Joined
Oct 28, 2001
Messages
2,584
Running Mint-MATE 18.3 Sylvia with Firefox 52 ESR. For some reason, Text files open with Firefox instead of Text Editor. Can't seem to find a way to fix this. Yes, I can right click -> Open with but I'd rather not do it that way.

Thanks.

Well hell, please excuse my stupidness. After posting this I went back and looked some more and found how to change it. :banghead:
 
Confirm mime type
file --mime-type doc.txt

check what is set now as default handler
gio mime [mimetype]

This should list what is set and what you have installed that can handle that mime type

Change setting.
gio mime [mimetype] [new handler]
 
when you go to "open with" rather than just selecting the application you want, click on the "other applications" you can then select the app BUT this time there should be a tickbox to set as default
 
when you go to "open with" rather than just selecting the application you want, click on the "other applications" you can then select the app BUT this time there should be a tickbox to set as default

Yep, I spotted this right after I started this post. Why I didn't spot it before is a mystery to me.
 
Back
Top