![]() ![]() The mimeinfo.cache is automatically generated from the mime types listed in the. Both sktop and sktop in that folder contain MimeType=application/pdf. If the file does not exist yet, make sure to add a section header, such as ĭeeper down, the mime types are defined in /usr/local/share/applications/mimeinfo.cache (this may be /usr/share/… if you are not on a FreeBSD system), which does list application/pdf=sktop sktop. To solve that problem on a per-user basis. ![]() On a user basis, the MIME opening behaviour is configured by the specification file ~/.local/share/applications/mimeapps.list.įor me, this file contains just a few reasonable protocols and HTML (and similar) files connected to userapp-Firefox-?.desktop, but you could easily add a line like application/pdf=sktop While Firefox does not rely on, or inherit rules from, xdg-open, it uses the MIME specification files just as xdg-open does. ![]() A link to a “similar question” ( xdg-open default applications behavior – not obviously related, but some experimentation showed that the behaviour is indeed equivalent to the one of xdg-open) led me deeper down the rabbit hole.
0 Comments
Leave a Reply. |