I can't seem to set VLC media player as the default video player. I have gone to System Settings → System Info → Default 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?
Go to System Settings → System info → Default 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 Settings → Details → Default Applications.
Rightclick any video file, choose
properties
. ChooseOpen With
and there you can select VLC and the optionset as default
(bottom right).--
14.04 and 16.04 also has this option:
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.
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.
If you want to assocoate all video mimetypes with vlc for current user, you can do this:
Check totem is currently default for all video mimetypes:
You will see lines like this:
Append all the lines containing video types to the local file:
Replace all occurences of "=totem.desktop" with "=vlc.desktop" in vim, nano, geany or gedit. E.g. Search->Replace in gedit:
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
Remove the totem video player via ubuntu software center. It appears with name "Video". This will make every video format use VLC automatically.
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.
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.