From 41c3a6e91b15566c31c33d30f287e483cebc2d6f Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 11 Sep 2015 17:53:21 +0300 Subject: [PATCH] .mailcap: add qpdfview --- .mailcap | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.mailcap b/.mailcap index a178d72..a081400 100644 --- a/.mailcap +++ b/.mailcap @@ -5,11 +5,13 @@ application/ogg; mplayer %s; description="Ogg container files"; test=test -n "$D application/ogg; audtool --playlist-clear --playlist-addurl %s --playback-play; description="Ogg container files"; test=test -n "$DISPLAY" -a -n "`which audtool 2>/dev/null`" && test "`audtool --get-volume`" -gt 0 application/ogg; audacious %s; description="Ogg container files"; test=test -n "$DISPLAY" -a -n "`which audacious 2>/dev/null`" application/ogg; foobar %s; description="Ogg container files"; test=test -n "$DISPLAY" -a -n "`which foobar 2>/dev/null`" +application/pdf; qpdfview %s; description="Postscript files"; test=test -n "$DISPLAY" -a -n "`which qpdfview 2>/dev/null`" application/pdf; evince %s; description="Postscript files"; test=test -n "$DISPLAY" -a -n "`which evince 2>/dev/null`" application/pdf; xpdf %s; description="Postscript files"; test=test -n "$DISPLAY" -a -n "`which xpdf 2>/dev/null`" application/pdf; gv %s; description="Postscript files"; test=test -n "$DISPLAY" -a -n "`which gv 2>/dev/null`" application/pdf; pdftotext %s; copiousoutput; description="Portable Document Format files"; test=test -n "`which pdftotext 2>/dev/null`" application/pdf; pstotext %s; copiousoutput; description="Portable Document Format files"; test=test -n "`which pstotext 2>/dev/null`" +application/postscript; qpdfview %s; description="Postscript files"; test=test -n "$DISPLAY" -a -n "`which qpdfview 2>/dev/null`" application/postscript; evince %s; description="Postscript files"; test=test -n "$DISPLAY" -a -n "`which evince 2>/dev/null`" application/postscript; xpdf %s; description="Postscript files"; test=test -n "$DISPLAY" -a -n "`which xpdf 2>/dev/null`" application/postscript; gv %s; description="Postscript files"; test=test -n "$DISPLAY" -a -n "`which gv 2>/dev/null`" @@ -85,6 +87,7 @@ image/jpeg; xview %s; description="JPEG image files"; test=test -n "$DISPLAY" -a image/jpeg; display %s; description="JPEG image files"; test=test -n "$DISPLAY" -a -n "`which display 2>/dev/null`" image/tiff; xview %s; description="TIFF image files"; test=test -n "$DISPLAY" -a -n "`which xview 2>/dev/null`" image/tiff; display %s; description="TIFF image files"; test=test -n "$DISPLAY" -a -n "`which display 2>/dev/null`" +image/x-djvu; qpdfview %s; description="DJVu image files"; test=test -n "$DISPLAY" -a -n "`which qpdfview 2>/dev/null`" image/x-djvu; evince %s; description="DJVu image files"; test=test -n "$DISPLAY" -a -n "`which evince 2>/dev/null`" image/x-djvu; djview %s; description="DJVu image files"; test=test -n "$DISPLAY" -a -n "`which djview 2>/dev/null`" image/x-icon; display %s; description="Icon image files"; test=test -n "$DISPLAY" -a -n "`which display 2>/dev/null`" -- 2.39.5