Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- application/pdf; /usr/bin/evince '%s'
- application/word; /usr/bin/libreoffice '%s'
- application/msword; /usr/bin/libreoffice '%s'
- # see http://bit.ly/1whfEWE
- application/vnd.openxmlformats-officedocument.wordprocessingml.document; /usr/bin/libreoffice '%s'
- application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; /usr/bin/gnumeric '%s'
- application/vnd.msword; /usr/bin/libreoffice '%s'
- ###############################################################################
- #
- # MIME types and programs that process those types
- #
- ###############################################################################
- image/*; /usr/bin/ristretto '%s'; test=test -n "$DISPLAY"
- # ##this is used when (v)iewing a text/html attachment:
- # ##allowing you to browse and "click" links
- # ##order matters the first entry which passes the test is used
- # #gui browser if $DISPLAY is set
- # text/html; firefox %s; test=test -n "$DISPLAY"; nametemplate=%s.html
- ## Use w3m for better html rendering
- text/html; firefox '%s' & sleep 3; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html
- text/html; /usr/bin/w3m -cols 90 -dump -T text/html '%s'; copiousoutput
Add Comment
Please, Sign In to add comment