96

I can't seem to set VLC media player as the default video player. I have gone to System SettingsSystem InfoDefault Applications, and changed "Video" to VLC media player.

However, all movies still open with Movie Player (Totem) by default. The video default application setting appears to have no effect. I have tried changing the setting and logging out/rebooting, but it doesn't appear to work.

Is there some command-line magic that can work on this?

George Udosen
  • 37,534
user39949
  • 961

9 Answers9

96

Go to System SettingsSystem infoDefault Applications, and set it there. It works in Ubuntu 11.10 (Oneiric Ocelot).

In Ubuntu 13.04 (Raring Ringtail) and later, it's found in System SettingsDetailsDefault Applications.

Pyri
  • 961
59

Rightclick any video file, choose properties. Choose Open With and there you can select VLC and the option set as default (bottom right).

enter image description here

--

14.04 and 16.04 also has this option:

enter image description here

rancho
  • 4,136
Rinzwind
  • 309,379
15

Ubuntu 13.10, 14.04

Click on the gear icon in the top right corner then select the option About this computer. From that set Vlc media player as default application for opening videos.

enter image description here

enter image description here

Avinash Raj
  • 80,446
7

In Ubuntu 12.10, go to

"System Settings" "Details" "Default Applications"

CLick on the "down arrow" for "Video"

Select "VLC Media Player"

Then close window.

6

If you want to assocoate all video mimetypes with vlc for current user, you can do this:

  1. Check totem is currently default for all video mimetypes:

    cat /usr/share/applications/defaults.list | grep video
    

    You will see lines like this:

    video/x-avi=totem.desktop
    
  2. Append all the lines containing video types to the local file:

    cat /usr/share/applications/defaults.list | grep video >> ~/.local/share/applications/mimeapps.list
    
  3. Replace all occurences of "=totem.desktop" with "=vlc.desktop" in vim, nano, geany or gedit. E.g. Search->Replace in gedit:

    gedit ~/.local/share/applications/mimeapps.list
    

P.S.: If you want to open audio by default in vlc too, then just replace "grep video" with "grep audio" and "=totem.desktop" with "=rhythmbox.desktop" in above 1,2,3.

Source: http://www.libre-software.net/change-the-default-application-ubuntu-linux

3

Remove the totem video player via ubuntu software center. It appears with name "Video". This will make every video format use VLC automatically.

Bhavin Doshi
  • 2,496
2

For 12.04

In Ubuntu Tweak under File Type Manager you can change and set the default for all media types and their specific formats.

Jah Fou
  • 31
1

I managed to fix this by right click on the video file > Open With Other Applications > Right click on Banshee and click Forget association

I say Banshee, because I already uninstalled Totem in order to fix the issue.

0

The older answers are no longer how to do it For Ver 24.04.1 Go to the video Right click to get the "open with" Select the "open with" option Qt the bottom of that window is a sliding button to have VLC open that type of file going forward it says "Always use this for this file type."
Slide the button to the right and click OPEN.

You will need to do this for the different video format types MKV etc...