From 67b05bd299c040d360fd134f1738d1e59231eff2 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 28 Nov 2011 16:32:07 -0500 Subject: [PATCH] Flesh out .mailcap. --- src/.mailcap | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/.mailcap b/src/.mailcap index f366bba..8a40ce3 100644 --- a/src/.mailcap +++ b/src/.mailcap @@ -1,4 +1,10 @@ image/*; qiv %s; test=test -n "$DISPLAY" +image/*; fbi -a %s; test=test "$TERM" == "linux"; needsterminal +audio/*; mplayer %s; text/html; /usr/bin/firefox %s; test=test -n "$DISPLAY"; description=HTML Text; nametemplate %s.html +text/html; w3m -T text/html %s #text/html; w3m -T text/html %s; description=HTML Text; nametemplate %s.html -application/pdf; /usr/bin/xpdf %s; test=test -n "$DISPLAY"; description=Portable Document Format; nametemplate=%s.pdf +#application/pdf; /usr/bin/xpdf %s; test=test -n "$DISPLAY"; description=Portable Document Format; nametemplate=%s.pdf +application/pdf; /usr/bin/evince %s; test=test -n "$DISPLAY"; description=Portable Document Format; nametemplate=%s.pdf +application/pdf; /usr/bin/fbgs %s; test=test "$TERM" == "linux"; description=Portable Document Format; nametemplate=%s.pdf; needsterminal +application/msword; /usr/bin/ooffice %s; test=test "$DISPLAY" != ""; description=MS Word Document Format; nametemplate=%s.doc -- 2.26.2