Set VLC as default video player
To set VLC as the default video player for your linux desktop, open a terminal window or press Alt+F2 and enter:
exo-open $HOME/.local/share/applications/mimeapps.list
Your default text editor should be opened and showing the mimeapps.list file.
Look for "[Default Applications]" section (or create it if doesn't exist) and append the following list after the section title:
video/msvideo=vlc.desktop
video/x-msvideo=vlc.desktop
video/x-dv=vlc.desktop
video/vnd.mpegurl=vlc.desktop
video/x-m4v=vlc.desktop
video/quicktime=vlc.desktop
video/x-sgi-movie=vlc.desktop
video/mp4=vlc.desktop
video/mpeg=vlc.desktop
video/vnd.mpegurl=vlc.desktop
video/quicktime=vlc.desktop
video/x-flv=vlc.desktop
video/x-ogm+ogg=vlc.desktop
video/3gpp=vlc.desktop
video/x-mpeg=vlc.desktop
video/x-ms-wmv=vlc.desktop
video/x-ms-asf=vlc.desktop
video/x-matroska=vlc.desktop
video/ogg=vlc.desktop
video/x-msvideo=vlc.desktop
video/x-dv=vlc.desktop
video/vnd.mpegurl=vlc.desktop
video/x-m4v=vlc.desktop
video/quicktime=vlc.desktop
video/x-sgi-movie=vlc.desktop
video/mp4=vlc.desktop
video/mpeg=vlc.desktop
video/vnd.mpegurl=vlc.desktop
video/quicktime=vlc.desktop
video/x-flv=vlc.desktop
video/x-ogm+ogg=vlc.desktop
video/3gpp=vlc.desktop
video/x-mpeg=vlc.desktop
video/x-ms-wmv=vlc.desktop
video/x-ms-asf=vlc.desktop
video/x-matroska=vlc.desktop
video/ogg=vlc.desktop
Note
If some video file type isn't associating with VLC, please tell me so that I can add it to the mime type list.
References
Mime TypesMime/File Types Test Suite
Thank u,
ReplyDeleteit is was I was looking for.
I'm glad I could help.
Delete"Failed to open URI "file:///.local/share/applications/mimeapps.list". No such file or directory"
ReplyDeleteI'm on Lubuntu. I had to download exo-utils first to even use exo-open. What now?
Try to navigate to that file using your file manager instead.
Delete