-
Notifications
You must be signed in to change notification settings - Fork 3
/
.mailcap
87 lines (71 loc) · 3.81 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#
# Set up a handler for html for mutt to use.
# The effect of this is that mutt auto-displays using lynx,
# but you can show each attachment in Netscape via the attachment screen.
# Unfortunately, it still doesn't pick up attached images.
#text/html; mimehelper 5 /usr/local/kitfox/firefox -remote 'openURL(file://%s)'; nametemplate=%s.html
text/html; mimehelper 5 firefox 'file://%s'; nametemplate=%s.html
#text/html; w3m -T text/html -s -graph -dump %s; copiousoutput
# text/html; elinks -dump %s; copiousoutput
# text/html; links -dump %s; nametemplate=%s.html; copiousoutput
text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput
# text/html; lynx -cfg=~/.lynxrc -nolist -dump %s; nametemplate=%s.html; copiousoutput
# text/html; netscape -remote openURL(file://%s)
application/rtf; /usr/bin/unrtf --text %s; copiousoutput
text/rtf; /usr/bin/unrtf --text %s; copiousoutput
# Use pho for images
image/*; mimehelper 2 pho -P %s; x-mozilla-flags=internal
# Some simple types
# Stuff from mp3.com
#audio/x-mpegurl; /usr/bin/xmms %s
# trn is always pestering me about what I want to do with encoded signatures.
# Here's the answer:
application/x-pkcs7-signature data; cat %s >/dev/null
# Basic audio
audio/wav;/usr/bin/play "%u"
audio/x-wav;/usr/bin/play "%u"
audio/x-pn-wav;/usr/bin/play "%u"
audio/basic;/home/akkana/RealPlayer8/realplay "%u"
audio/x-pn-au;/home/akkana/RealPlayer8/realplay "%u"
audio/aiff;/usr/bin/play "%u"
audio/x-aiff;/usr/bin/play "%u"
audio/x-pn-aiff;/usr/bin/play "%u"
#audio/x-mp3; /usr/bin/xmms %s
# Override ubuntu's occasional odd desire to use evince instead of xpdf
# But, sigh, in natty ubuntu has broken xpdf and epdfview so they
# crash on startup. There's no alternative to evince now. :-(
# But evince isn't usable because it comes up too small and the
# doc is gone before we can resize. Sigh!
# mupdf -r 100 works pretty well, so use a script that does that.
application/pdf; /home/akkana/bin/pdf '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf
#application/x-pdf; /usr/local/bin/xpdf '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf
#application/postscript; /usr/local/bin/xpdf '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf
# Realplayer stuff
audio/x-pn-realaudio;/home/akkana/RealPlayer8/realplay "%u"
audio/vnd.rn-realaudio;/home/akkana/RealPlayer8/realplay "%u"
application/smil;/home/akkana/RealPlayer8/realplay "%u"
text/vnd.rn-realtext;/home/akkana/RealPlayer8/realplay "%u"
video/vnd.rn-realvideo;/home/akkana/RealPlayer8/realplay "%u"
image/vnd.rn-realflash;/home/akkana/RealPlayer8/realplay "%u"
# application/x-shockwave-flash2-preview;/home/akkana/RealPlayer8/realplay "%u"
application/sdp;/home/akkana/RealPlayer8/realplay "%u"
application/x-sdp;/home/akkana/RealPlayer8/realplay "%u"
application/vnd.rn-realmedia;/home/akkana/RealPlayer8/realplay "%u"
image/vnd.rn-realpix;/home/akkana/RealPlayer8/realplay "%u"
audio/x-pn-windows-acm;/home/akkana/RealPlayer8/realplay "%u"
# Java Web Start
application/x-java-jnlp-file; /home/akkana/Tarballs/j2sdk1.4.2_06/jre/javaws/javaws %s
# GUI programs for various formats.
# For text-mode programs, see ~/.mutt/mailcap.
# HTML
text/html; mimehelper 5 quickbrowse 'file://%s'; nametemplate=%s.html
# MS Word formats
application/vnd.openxmlformats-officedocument.wordprocessingml.document; abiword %s
# application/vnd.openxmlformats-officedocument.wordprocessingml.document; abiword %s -
application/vnd.openxmlformats-officedocument.wordprocessingml.document; abiword %s -
application/msword; abiword %s
application/msword; abiword %s
# application/msword; mimehelper 5 abiword %s
application/vnd.openxmlformats-officedocument.wordprocessingml.document; abiword %s
application/vnd.ms-excel; gnumeric %s
text/calendar; /home/akkana/bin/vcalparse %s