The changes take effect after running sudo update-mime-database /usr/share/mimeĪnd, for icons, sudo gtk-update-icon-cache /usr/share/icons/gnome -f cat <<EOF | sudo tee /usr/share/applications/sktopĮxec=/sw/prog/StarUML/StarUML-3.1.0-x86_64.AppImage %UĬategories=Development Programming Modeling UML For instance, the EOG app has: MimeType=image/bmp image/gif image/jpeg image/jpg. ![]() That file can contain a MimeType= entry with semicolon-separated list of MIME types. desktop files in /usr/share/applications/. Įcho 'application/staruml-project=sktop' > ~/.local/share/applications/mimeapps.listĮcho 'application/staruml-project=sktop' | sudo tee -a /usr/share/applications/mimeapps.listĪpplications -> list of compatible MIME types This is driven by ~/.local/share/applications/mimeapps.list and detailed the other answers. This is in files in /usr/share/mime/packages/. Applications -> list of compatible MIME typesįor Ubuntu (18.x), these are described in: file extension -> MIME types. ![]() For those looking for setting an application association for file extensions, NOT a mimetype:Īpparently, Ubuntu / Linux keeps this indirectly:
0 Comments
Leave a Reply. |