User Tools

Site Tools


mailcap
## mailcap file for mutt
## Typicly lives in ~/.mutt/ 
## or /etc/mailcap which should also be read without explicit mention in your muttrc.
## Comment and uncomment to meet your needs, i.e. change which programs to call.
#
## HTML
text/html; firefox -remote 'openURL(%s)' ; test=RunningX;
text/html; elinks %s; nametemplate=%s.html;
text/html; elinks -dump ; copiousoutput;
#text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 %s; nametemplate=%s.html 
#text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput;
#
## Plain text
text/plain; gedit %s; test=RunningX;
text/plain; nano %s;
#
## Images
image/bmp; fbi %s;
image/gif; fbi %s;
image/jpeg; fbi %s;
image/png; fbi %s;
image/tiff; fbi %s;
image/webp; fbi %s;
#
## Formatted Documents
application/msword; antiword -f %s; copiousoutput;
application/vnd.openxmlformats-officedocument.wordprocessingml.document; docx2txt.sh %s; copiousoutput;
application/rtf; unrtf --text %s; copiousoutput; 
#
## Multimedia
## Audio
audio/flac; vlc -I ncurses %s;
audio/mpeg; vlc -I ncurses %s;
audio/ogg; vlc -I ncurses %s;
audio/x-scpls; vlc -I ncurses %s;
audio/x-mpegurl; vlc -I ncurses %s;
audio/x-ms-wma; vlc -I ncurses %s;
audio/x-wav; vlc -I ncurses %s;
video/mp4; vlc -I ncurses %s;
video/ogg; vlc -I ncurses %s;
application/pls+xml; vlc -i ncurses %s;
mailcap.txt · Last modified: 2019/09/13 00:31 by D.J.J. Ring Jr.