lamagazine.blogg.se

Change default programs for opening files
Change default programs for opening files










change default programs for opening files

In my instance I wanted to add PlayonLinux to select as a program to open. Gedit ~/.local/share/applications/mimeapps.list

  • modify the Icon (again, if it's a default program installed to ( /usr/bin) this should just say Icon=name_ of_your_program.
  • modify the MimeType (unless it's the same).
  • Modify the Exec (should just say yourprogram %f as long as it's a default install with the program in /usr/bin) If you want to add support for the name in other languages just add a new line that says for instance: Name=PlayonLinux Cargador de programas de Windows When you see a command, run it in terminal, of course :)Ĭp similar_sktop name_of_your_sktop

    change default programs for opening files

    Guide as follows (I'm using 13.10 Saucy): My guide includes file type associations, so that your app will be listed in the "Recommended Applications" when right-clicking the file to see the properties. Here's how I did it without using the Ubuntu Tweak tool. Then, you should be able to see this: $ mimetype. 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 < change default programs for opening files

    Į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:












    Change default programs for opening files