How to Change Default Players in Linux

You might want to watch an MP4 or AVI video in the GNOME Media Player. Perhaps you prefer listening to music in Audacious, VLC Media Player, Parole or something more exotic. Fortunately, you can change which media player Linux defaults to for each file type individually or as a whole.

The individual instructions only change the media player defaults for one single file type. You can actually set different file types to play with different players. This is especially useful if you use a specific program to play MIDI or MP3 files, which aren’t supported by all applications in Linux yet.

Method 1: Right-clicking on Media Files

If you already know where to find the audio or video file you want to play and can find it in your file manager, then just right-click on it and select Properties from the context menu. You should see a line called “Open With:” which will feature a drop-down box next to it.

Click on the box and you’ll see a list of valid media players that you could view the file with. Select the one you’re looking for and then click on the Close or OK buttons, depending on which file manager you’re using. This should work just fine for those using Nautilus as well as those using a file manager under KDE. Thunar and PCManFM are also supported, so you shouldn’t have an issue if you’re using Xubuntu or Lubuntu either. You can now double click on the media file to play it in your preferred media player.

If the list doesn’t offer any other media players then the one it defaulted it, then it’s quite possible that you don’t have any others installed.

Method 2: Changing Default Applications

If you don’t have a media file picked out, then you’ll need to do one extra step but you still shouldn’t have to play around very much to get the job done. These instructions will change your default media player across your desktop environment for all file types, but this can easily be undone so you won’t do any lasting damage if you pick the wrong one.

You’ll need to open the Default Applications configuration applet. Users of the Ubuntu Dash will want to select System Settings, click on Details and then click on Default Applications. Older versions of Ubuntu stored this in System Settings under System Info, and there may be a similar applet found for MATE users and the like. Xfce4 users won’t have to worry because that desktop environment primarily uses the above method for setting file associations.

If you’re an LXDE user, then you’ll want to click on the LX Menu followed by Preferences and select Default Applications for LXSession. Regardless of what you did to get there, once you’re there scroll down until you see Video and Audio player options. Depending on your desktop environment, you may just see a blanket media player option.

Select your preferred media player and then agree to the changes if necessary. Close the window and you should have your preferred media player mapped across the board. You can try double clicking on any media file to test it out.

Your chosen media file will load in whatever media player you selected. Simply run the Default Applications selector through a second time if you want to change it again. You might need to do this after you install a new media player, since your package manager may force a change on you without your permission. If this ever happens, then merely open up the applet as is described in this method and select a different media player.

Kevin Arrows

Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. Superior record of delivering simultaneous large-scale mission critical projects on time and under budget.

Expert Tip

How to Change Default Players in Linux

If the issue is with your Computer or a Laptop you should try using Restoro which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Restoro by clicking the Download button below.

Download Now

I'm not interested