Ubuntu – How to set VLC media player as default video player


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?

Best Answer

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.