]> git.pld-linux.org Git - packages/mailcap.git/blob - mailcap
- sorted
[packages/mailcap.git] / mailcap
1 image/*; /usr/bin/eog %s; test=[ -n "$DISPLAY" -a -x /usr/bin/eog ]
2 image/*; /usr/bin/qiv %s; test=[ -n "$DISPLAY" ]
3
4 audio/mod; /usr/bin/mikmod %s
5
6 # play is apparently a security hole
7 #audio/*; /usr/bin/play %s
8 audio/*; /usr/bin/mplayer -vc null -vo null %s; test=[ -z "$DISPLAY" ]
9 audio/*; /usr/X11R6/bin/xterm -name mplayer -e /usr/bin/mplayer -vc null -vo null %s & /bin/sleep 1; test=[ -n "$DISPLAY" ]
10
11 video/*; /usr/bin/mplayer -vc null -vo null %s; test=[ -z "$DISPLAY" ]
12 video/*; /usr/X11R6/bin/xterm -name mplayer -e /usr/bin/mplayer %s & /bin/sleep 1; test=[ -n "$DISPLAY" ]
13
14 video/mpeg; /usr/bin/mplayer -vc null -vo null %s; test=[ -z "$DISPLAY" ]
15 video/mpeg; /usr/X11R6/bin/xterm -name mplayer -e /usr/bin/mplayer %s & /bin/sleep 1; test=[ -n "$DISPLAY" ]
16
17 application/pdf; /usr/bin/xpdf %s; test=[ -n "$DISPLAY" ]
18 application/pdf; /usr/bin/pdftotext -layout -nopgbrk %s -; copiousoutput
19
20 application/postscript; /usr/bin/gv -safer %s; test=[ -n "$DISPLAY" ]
21 application/postscript; /usr/bin/ps2ascii %s; copiousoutput
22
23 text/html; /usr/bin/htmlview %s; copiousoutput; test=[ -x /usr/bin/htmlview ]
24 text/html; /usr/bin/elinks %s; nametemplate=%s.html; test=[ -z "$DISPLAY" ]
25 text/html; /usr/X11R6/bin/xterm -name xterm-elinks -e /usr/bin/elinks %s & /bin/sleep 1; nametemplate=%s.html; test=[ -n "$DISPLAY" ]
26 text/html; /usr/bin/elinks -dump %s; copiousoutput
27
28 #text/x-patch; /usr/bin/colordiff.pl < %s | less -r
29
30 application/x-shockwave-flash; /usr/bin/swfplayer %s & sleep 2; test=[ -n "$DISPLAY" ]
31
32 application/vnd.sun.xml.writer; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
33         cd "$tmp"\; /usr/bin/soffice2html.pl %s\; \
34         /usr/bin/elinks content.html\; \
35         /bin/rm -rf "$tmp"; test=[ -z "$DISPLAY" ]
36
37 application/vnd.sun.xml.writer; /usr/bin/oowriter %s; test=[ -n "$DISPLAY" -a -x /usr/bin/oowriter ]
38
39 application/vnd.sun.xml.writer; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
40         cd "$tmp"\; /usr/bin/soffice2html.pl %s\; \
41         { /usr/X11R6/bin/xterm -name xterm-elinks -e /usr/bin/elinks content.html\; \
42         /bin/rm -rf "$tmp"\;} &; test=[ -n "$DISPLAY" ]
43
44 application/vnd.sun.xml.writer; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
45         cd "$tmp"\; /usr/bin/soffice2html.pl %s\; \
46         /usr/bin/elinks -dump content.html\; \
47         /bin/rm -rf "$tmp"; copiousoutput
48
49 application/msword; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
50         /usr/bin/wvHtml %s --targetdir="$tmp" page.html -1\; \
51         /usr/bin/elinks "$tmp/page.html"\; \
52         /bin/rm -rf "$tmp"; test=[ -z "$DISPLAY" ]
53
54 application/msword; /usr/bin/oowriter %s; test=[ -n "$DISPLAY" -a -x /usr/bin/oowriter ]
55
56 application/msword; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
57         /usr/bin/wvHtml %s --targetdir="$tmp" page.html\; \
58         { /usr/X11R6/bin/xterm -name xterm-elinks -e /usr/bin/elinks "$tmp/page.html"\; \
59         /bin/rm -rf "$tmp"\;} &; test=[ -n "$DISPLAY" ]
60
61 application/msword; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
62         /usr/bin/wvHtml %s --targetdir="$tmp" page.html -1\; \
63         /usr/bin/elinks -dump "$tmp/page.html"\; \
64         /bin/rm -rf "$tmp"; copiousoutput
65
66 application/vnd.ms-excel; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
67         /usr/bin/xlhtml -a %s > "$tmp/page.html"\; \
68         /usr/bin/elinks "$tmp/page.html"\; \
69         /bin/rm -rf "$tmp"; test=[ -z "$DISPLAY" ]
70
71 application/vnd.ms-excel; /usr/bin/oocalc %s; test=[ -n "$DISPLAY" -a -x /usr/bin/oocalc ]
72
73 application/vnd.ms-excel; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
74         /usr/bin/xlhtml -a %s > "$tmp/page.html"\; \
75         { /usr/X11R6/bin/xterm -name xterm-elinks -e /usr/bin/elinks "$tmp/page.html"\; \
76         /bin/rm -rf "$tmp"\;} &; test=[ -n "$DISPLAY" ]
77
78 application/vnd.ms-excel; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
79         /usr/bin/xlhtml -a %s > "$tmp/page.html"\; \
80         /usr/bin/elinks -dump "$tmp/page.html"\; \
81         /bin/rm -rf "$tmp"; copiousoutput
82
83 application/vnd.ms-powerpoint; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
84         /usr/bin/ppthtml %s > "$tmp/page.html"\; \
85         /usr/bin/elinks "$tmp/page.html"\; \
86         /bin/rm -rf "$tmp"; test=[ -z "$DISPLAY" ]
87
88 application/vnd.ms-powerpoint; /usr/bin/ooimpress %s; test=[ -n "$DISPLAY" -a -x /usr/bin/ooimpress ]
89
90 application/vnd.ms-powerpoint; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
91         /usr/bin/ppthtml %s > "$tmp/page.html"\; \
92         { /usr/X11R6/bin/xterm -name xterm-elinks -e /usr/bin/elinks "$tmp/page.html"\; \
93         /bin/rm -rf "$tmp"\;} &; test=[ -n "$DISPLAY" ]
94
95 application/vnd.ms-powerpoint; tmp=`/bin/mktemp %s.XXXXXX`\; \
96         /usr/bin/ppthtml %s > "$tmp"\; \
97         /usr/bin/elinks -dump "$tmp"\; \
98         /bin/rm -f "$tmp"; copiousoutput
99
100 application/x-rar-compressed; /usr/bin/rar v -c- %s; copiousoutput
101 application/x-zip-compressed; /usr/bin/unzip -v %s; copiousoutput
This page took 0.210576 seconds and 3 git commands to generate.