-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.mailcap
49 lines (41 loc) · 1.64 KB
/
.mailcap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# ~/.mailcap -- MIME content type handlers
#
#ident "@(#)HOME:.mailcap 37.2 22/02/04 17:48:42 (woods)"
audio/wav;wavplay '%s'
audio/x-wav;wavplay '%s'
audio/x-pn-wav;wavplay '%s'
audio/x-pn-windows-acm;auplay '%s'
audio/au;auplay '%s'
audio/x-au;auplay '%s'
audio/basic;auplay '%s'
audio/x-pn-au;auplay '%s'
audio/aiff;auplay '%s'
audio/x-aiff;auplay '%s'
audio/au;auplay '%s'
audio/snd;auplay '%s'
audio/voc;auplay '%s'
# note that 50000 is the max sample rate of the NCD HMX
# but mpg123 only supports 48000 within that limit
audio/x-mpeg;xterm -e sh -c 'mpg123 -v -r 48000 --stereo -s "%s" | sox -r 48000 -c 2 -t sw - -t au - | auplay'
audio/mpeg;xterm -e sh -c 'mpg123 -v -r 48000 --stereo -s "%s" | sox -r 48000 -c 2 -t sw - -t au - | auplay'
text/tab-separated-values; tail +2 '%s' | graph | /usr/bin/X11/xplot -display $DISPLAY
video/mpeg;/usr/pkg/bin/mpeg_play -dither fs4 -owncm '%s'
video/x-mpeg2;/usr/pkg/bin/mpeg_play -dither fs4 -owncm '%s'
application/postscript;/usr/pkg/bin/gv --scale=0.7 '%s'
application/pdf;/usr/pkg/bin/gv --scale=0.7 '%s'
# application/pdf;/usr/pkg/bin/xpdf -z 150 "%s"
application/x-dvi;/usr/pkg/bin/xdvi '%s'
application/msword;xterm -e sh -c '/usr/pkg/bin/antiword "%s" | less'
application/ogg;/usr/pkg/bin/ogg123 '%s'
image/jpeg;/usr/pkg/bin/xv '%s'
image/tiff;/usr/pkg/bin/xv '%s'
image/gif;/usr/pkg/bin/xv '%s'
image/x-xpixmap;/usr/pkg/bin/xv '%s'
image/x-xwindowdump;xwud '%s'
image/png;/usr/pkg/bin/xv '%s'
image/x-rgb;/usr/pkg/bin/xv '%s'
image/x-portable-pixmap;/usr/pkg/bin/xv '%s'
image/x-portable-graymap;/usr/pkg/bin/xv '%s'
image/x-portable-bitmap;/usr/pkg/bin/xv '%s'
image/x-portable-anymap;/usr/pkg/bin/xv '%s'