3

In older versions, files ending in .key were correctly identified as SSL keys and had a bank safe icon and opened with a certificate program.

After updating to Mint 18.1, they now have Powerpoint icons and try to open with Open Office. The Kind field in Thunar reads, "Apple Keynote 5 Presentation".

How do I fix this? I know I can change the "open with" but it's the type detection that's wrong, not the program it opens with.

Nick
  • 1,081
  • 6
  • 17
  • 29

1 Answers1

1

Yes it does the problem lies in the mime database, specifically the file: /usr/share/mime/packages/freedesktop.org.xml

To fix:

Remove entry from file /usr/share/mime/packages/freedesktop.org.xml

Run:

sudo update-mime-database /usr/share/mime

This will leave the *.key file as default binary, then follow this process with the proper XML descriptor.

Add new file extension to existing (MIME) type

D.A.HeRo
  • 11
  • 1