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.


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


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.