Moderators, feel free to move.
To all, I am not a real coder but I am looking at updating some file managers for 64 bit and we have
shared-mime-info. AFAIK some file managers use information from your package.desktop and look for a line
MimeType=<string>
I am guilty of not checking my own builds so sakura lacks it and lots of others. eg of a simple "desktop" file is leafpad
cat /usr/local/share/applications/leafpad.desktop | grep Mime
MimeType=text/plain
However, I believe there should be a ; at end of "plain"
If you can not cheat off other TCEs maybe use this reference?
https://www.freeformatter.com/mime-types-list.htmlSome apps can open multiple Mime types so their list may be quite long such as seen in opera-62
MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;application/x-opera-download;
The kind of association I would like to setup for various file managers is kind of showing up here if interested
https://lkubaski.wordpress.com/2012/10/29/understanding-file-associations-in-lxde-and-pcmanfm/thanks for reading