User Tools

Site Tools


mailcap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mailcap [2019/02/08 23:31]
mailcap [2017/11/11 22:47] (current)
Line 1: Line 1:
 +## 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: 2017/11/11 22:47 (external edit)