Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using VLC, which can open all kinds of files without problem, but how can I associate all video files (avi, mpg, wmv, flv, etc.) to be opened with VLC by default?

share|improve this question
    
I removed the first sentence of your question about Banshee crashing, because I don't think it will affect the answer. However, if you want to help make Banshee better, I'm sure the developers would appreciate it if you report that crash: banshee.fm/file-bugs –  michaelms Aug 20 '11 at 1:36

1 Answer 1

You can right click at the desired video file then choose "Proprieties" > "Open with" the "VLC".

enter image description here

Also you can edit mimeapps.list at ~/.local/share/applications and add:

video/dv=vlc.desktop;
video/mpeg=vlc.desktop;
video/x-mpeg=vlc.desktop;
video/msvideo=vlc.desktop;
video/quicktime=vlc.desktop;
video/x-anim=vlc.desktop;
video/x-avi=vlc.desktop;
video/x-ms-asf=vlc.desktop;
video/x-ms-wmv=vlc.desktop;
video/x-msvideo=vlc.desktop;
video/x-nsv=vlc.desktop;
video/x-flc=vlc.desktop;
video/x-fli=vlc.desktop;
application/ogg=vlc.desktop;
application/x-ogg=vlc.desktop;
application/x-matroska=vlc.desktop;
audio/x-mp3;audio/x-mpeg=vlc.desktop;
audio/mpeg;audio/x-wav=vlc.desktop;
audio/x-mpegurl=vlc.desktop;
audio/x-scpls=vlc.desktop;
audio/x-m4a=vlc.desktop;
audio/x-ms-asf=vlc.desktop;
audio/x-ms-asx=vlc.desktop;
audio/x-ms-wax=vlc.desktop;
application/vnd.rn-realmedia=vlc.desktop;
audio/x-real-audio=vlc.desktop;
audio/x-pn-realaudio=vlc.desktop;
application/x-flac=vlc.desktop;
audio/x-flac=vlc.desktop;
application/x-shockwave-flash=vlc.desktop;
misc/ultravox;audio/vnd.rn-realaudio=vlc.desktop;
audio/x-pn-aiff;audio/x-pn-au=vlc.desktop;
audio/x-pn-wav=vlc.desktop;
audio/x-pn-windows-acm=vlc.desktop;
image/vnd.rn-realpix=vlc.desktop;
video/vnd.rn-realvideo=vlc.desktop;
audio/x-pn-realaudio-plugin=vlc.desktop;
application/x-extension-mp4=vlc.desktop;
audio/mp4;video/mp4=vlc.desktop;
video/mp4v-es=vlc.desktop;
x-content/video-vcd=vlc.desktop;
x-content/video-svcd=vlc.desktop;
x-content/video-dvd=vlc.desktop;
x-content/audio-cdda=vlc.desktop;
x-content/audio-player=vlc.desktop;
video/x-flv=vlc.desktop;

Reference: 1.

share|improve this answer
    
Thank you vey much! Solved :D –  Julio Aug 20 '11 at 17:51
    
I have to use at least 15 characters to say: welcome ;-) –  desgua Aug 20 '11 at 17:55
    
@Julio please mark the answer as accepted, since it has provided the solution for you. –  Sri Jul 16 at 5:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.