NAVIGATION
Home
Gallery
Java
Linux
Web
Scripts And Utilities
Mobile And Sms
Misc
Contact
pixelWIKI
Nabaz Tag




<<

Gnome Help

File Associations


File associations are held in /usr/share/applications/defaults.list}} in the format {{{video/x-ms-wmv=mplayer.desktop

to change the file association, change the relevant mime-type to a new .desktop file. These .desktop files also live in /usr/share/applications and have the following format (example is mplayer.desktop):

[Desktop Entry]
Name=Movie Player
Comment=Play multimedia files and media
Icon=mplayer.xpm
Exec=gmplayer %f
Terminal=false
MimeType=video/mpeg;video/x-msvideo;video/quicktime;video/x-ms-asf;video/x-ms-wmv
Type=Application
Categories=Application;AudioVideo;
Encoding=UTF-8