Changes

The following lines were added (+) and removed (-):
Running the command "$ xdg-mime query default video/avi" on the command line returns the output "smplayer.desktop"Running the command "$ xdg-mime query default video/avi" on the command line returns the output "smplayer.desktop" If it were set to VLC, you could change it to SMPlayer using the command: xdg-mime default smplayer.desktop video/avi Review: Three different ways to set what application will open a specific file type in Linux Mint Cinnamon, one of which uses the desktop graphic environment and the other two using command line interface.* Preferred Applications * gio* xdg-mime Using Preferred Applications is not as precise and sometimes malfunctions.  Using gio gets the job done but may not be the best recommended technique and using xdg-mime also works and is less distribution or desktop manager specific.
Bureaucrat, administrator
16,192
edits