if you set opera as the default to open opera.mht files, then when you click-open a .txt file it will also open in opera instead of where you want them i.e. in a text editor.
how to have your cake and eat it too? any clues?
default opening of .txt files and opera .mht files
Hi aarf,
I setup a new MIME type, /root/Choices/MIME-types/text_mht containing:
and then added:
to the end of /usr/share/mime/glob
Seems to work alright. Have attached it as .pet
Thanks for calling this to my attention, J
I setup a new MIME type, /root/Choices/MIME-types/text_mht containing:
Code: Select all
#! /bin/sh
exec opera "$1"
Code: Select all
text/mht:*.mht
Seems to work alright. Have attached it as .pet
Thanks for calling this to my attention, J
- Attachments
-
- text_mht.pet
- Open .mht files in Opera
- (469 Bytes) Downloaded 320 times