Currently there are two ways to identify a PSF console font in the shared mime database - a bit of "mime magic", and a glob (*.psf) This glob interferes with any user-level attempts to add mime types for the Portable Sound Format, a reasonably common music format among emulation enthusiasts. As there's a "magic" line available for the console font, I submit that there's no reason to include the glob. (As for adding the Portable Sound Format itself, I don't believe there's a commonly accepted MIME type for it yet, so I'm not suggesting that. I've been using "audio/x-psf", vaugely inspired by the Portable Document Format type.)
Created attachment 5844 [details] [review] xorg.conf
Comment on attachment 5844 [details] [review] xorg.conf Patch was lost
OK, I hope that I just committed the proper fix: I added three MIME types for PSF audio: audio/x-psf audio/x-minipsf audio/x-psflib All of them are PSF files, and thus start with "PSF". Plain PSF files (x-psf, *.psf) are self-contained, MiniPSF files (x-minipsf, *.minipsf) reference other plain PSF files called PSF libraries (x-psflib, *.psflib). So now all PSF files and the console font type have globs, and xdgmime will properly figure out the correct file type. Some tests revealed that this is working very well. Closing.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.