I'm using ubuntu 15.04. I installed VLC and want it to be the default player for all video files including .avi files. I tried all the recommended methods but nothing works. Here is what I already tried:
Went to System Settings/ System info/ Default Applications and set VLC as default for video. VLC is now set as default video player but double clicking on an .avi file still opens it with SMPlayer.
Right clicking the avi file, then Properties, and then Open With and click on VLC to change the default program. Does not work - SMPplayer remains set the default application.
Used Ubuntu Tweak / admin tab / system / File type manager / Video category, double click on the line 'AVI vide' and select VCL media player. Does not work - SMPlayer remains the default application.
Edited the file /usr/share/applications/defaults.list and changed all occurrences of totem.desktop to vlc.desktop. Does not work.
I logged out and in again after each of these methods.
Now I'm out of ideas, what else can I try?