MimeType line in desktop file, add desktop-file-utils. Taken from MC.