This question is about Debian Jessie running the MATE desktop environment. How do I add a new MIME type and set Caja (MATE file manager) to open it with a custom app? The use case is that I want to open Commodore 64 disk image files (.D64, .D81...) with a Java program I wrote.