Skip to content

Instantly share code, notes, and snippets.

@wvega
Created June 5, 2011 04:58
Show Gist options
  • Save wvega/1008667 to your computer and use it in GitHub Desktop.
Save wvega/1008667 to your computer and use it in GitHub Desktop.
GNOME/KDE Desktop Entry to associate MPlayer with different MIME types
[Desktop Entry]
Name=MPlayer
TryExec=mplayer
Exec=mplayer
Terminal=false
Icon=totem
Type=Application
Categories=GTK;GNOME;AudioVideo;Audio;Video;Player;TV;
# MimeType was extracted from totem.desktop
MimeType=application/ogg;application/x-ogg;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/m4a;audio/x-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg;video/x-mpeg2;video/msvideo;video/x-msvideo;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/x-fli;video/x-theora;video/x-matroska;video/mp4;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment