WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCE builders, Can you add missing MimeType to your desktops on your next update  (Read 400 times)

Offline aus9

  • Sr. Member
  • ****
  • Posts: 260
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
Quote
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
Code: [Select]
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.html

Some apps can open multiple Mime types so their list may be quite long such as seen in opera-62
Quote
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

Offline aus9

  • Sr. Member
  • ****
  • Posts: 260
I just checked another distro, and a lot of their desktops are missing this mime line too.

so this is purely a selfish request, feel free to ignore.

thanks for reading