- Right clic onto a avi file.
- Select "Get info" option.
- Go to "Open with" tab and select the media player you want.
- Then clic "Change All..." button (That will associate avi file types with Vlc).
Note:This works for avi files, dunno with others filetypes.