aboutsummaryrefslogtreecommitdiff
path: root/.mailcap
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2012-05-28 09:31:27 -0400
committerRyan Kavanagh <rak@debian.org>2012-05-28 09:31:51 -0400
commit466bd34e44679455831143d66a9dbd9c1094ad68 (patch)
tree4cb426147f088890f9a21ec0a9a100c8904cb6d6 /.mailcap
parentComment maintainer_name in sbuildrc for when sponsoring packages (diff)
Use evince as a default PDF viewer
Diffstat (limited to '.mailcap')
-rw-r--r--.mailcap4
1 files changed, 4 insertions, 0 deletions
diff --git a/.mailcap b/.mailcap
index 0135463..a8b171f 100644
--- a/.mailcap
+++ b/.mailcap
@@ -1,2 +1,6 @@
text/html; w3m %s; nametemplate=%s.html
text/html; w3m -dump %s; nametemplate=%s.html; copiousoutput
+application/pdf; evince '%s'; nametemplate=%s.pdf; test=test "$DISPLAY" != ""; description=Portable Document Format
+application/x-pdf; evince '%s'; nametemplate=%s.pdf; test=test "$DISPLAY" != ""; description=Portable Document Format
+application/x-gzpdf; evince '%s'; nametemplate=%s.pdf.gz; test=test "$DISPLAY" != ""; description=Portable Document Format
+application/x-bzpdf; evince '%s'; nametemplate=%s.pdf.bz2; test=test "$DISPLAY" != ""; description=Portable Document Format