Changes

Mint Linux Troubleshooting

1,321 bytes added, 13:06, 19 October 2022
The following lines were added (+) and removed (-):
=== File Associations / Open With ===shell menu Properties->Open With->Show Other Applications - if you create a file association that is wrong or you need to edit this, older versions of mint lack an interface to accomplish this.  So, you can locate and directly edit the configuration file created by this action.  The file is a .desktop file. cd ~/.local/share/applicationsYou will see a bunch of .desktop files each containing characters including in part the name you selected for the association you created.  These can be directly edited with a text editor like vim.  The filename will start with "userapp" and end with ".desktop"  Try this: ls -l ~/.local/share/applications/userapp*.desktopExample:  I created an association for .xm music files to open in a program called MTRACKER yet forgot to select the option to "open in terminal."  This happened when I did the following:# right clicked on a music file ending in the .xm extension# chose "Open With" and then scrolled to the bottom of the list and chose again "Open With..."# in the "choose application" dialog clicked the tab "Custom Command Line"Doing this creates a .desktop file in ~/.local/share/applications and for my example it was called userapp-mtracker-M50TT1.desktop vi  ~/.local/share/applications/userapp-mtracker-M50TT1.desktop
Bureaucrat, administrator
16,228
edits