|
a/src/sampleconf/mimeview.mac |
|
b/src/sampleconf/mimeview.mac |
|
... |
|
... |
27 |
application/epub+zip = ebook-viewer %f
|
27 |
application/epub+zip = ebook-viewer %f
|
28 |
# If you want to open the parent epub document for epub parts instead of
|
28 |
# If you want to open the parent epub document for epub parts instead of
|
29 |
# opening them as html documents:
|
29 |
# opening them as html documents:
|
30 |
#text/html|epub = ebook-viewer %F;ignoreipath=1
|
30 |
#text/html|epub = ebook-viewer %F;ignoreipath=1
|
31 |
|
31 |
|
|
|
32 |
application/x-gnote = gnote %f
|
|
|
33 |
|
32 |
application/x-mobipocket-ebook = ebook-viewer %f
|
34 |
application/x-mobipocket-ebook = ebook-viewer %f
|
33 |
|
35 |
|
34 |
application/x-kword = kword %f
|
36 |
application/x-kword = kword %f
|
35 |
application/x-abiword = abiword %f
|
37 |
application/x-abiword = abiword %f
|
36 |
|
38 |
|
|
|
39 |
# Note: the Linux Mint evince clones, atril and xread, have the same options
|
37 |
application/pdf = evince --page-index=%p --find=%s %f
|
40 |
application/pdf = evince --page-index=%p --find=%s %f
|
|
|
41 |
# Or:
|
|
|
42 |
#application/pdf = qpdfview --search %s %f#%p
|
|
|
43 |
|
38 |
application/postscript = evince --page-index=%p --find=%s %f
|
44 |
application/postscript = evince --page-index=%p --find=%s %f
|
39 |
application/x-dvi = evince --page-index=%p --find=%s %f
|
45 |
application/x-dvi = evince --page-index=%p --find=%s %f
|
40 |
|
46 |
|
41 |
application/x-lyx = lyx %f
|
47 |
application/x-lyx = lyx %f
|
42 |
application/x-scribus = scribus %f
|
48 |
application/x-scribus = scribus %f
|
|
... |
|
... |
72 |
application/vnd.sun.xml.writer.global = libreoffice %f
|
78 |
application/vnd.sun.xml.writer.global = libreoffice %f
|
73 |
application/vnd.sun.xml.writer.template = libreoffice %f
|
79 |
application/vnd.sun.xml.writer.template = libreoffice %f
|
74 |
application/vnd.wordperfect = libreoffice %f
|
80 |
application/vnd.wordperfect = libreoffice %f
|
75 |
text/rtf = libreoffice %f
|
81 |
text/rtf = libreoffice %f
|
76 |
|
82 |
|
77 |
application/x-chm = kchmviewer %f
|
|
|
78 |
application/x-dia-diagram = dia %f
|
83 |
application/x-dia-diagram = dia %f
|
|
|
84 |
|
79 |
application/x-fsdirectory = dolphin %f
|
85 |
application/x-fsdirectory = dolphin %f
|
|
|
86 |
inode/directory = dolphin %f
|
|
|
87 |
|
|
|
88 |
# Both dolphin and nautilus can pre-select a file inside a
|
|
|
89 |
# directory. Thunar can't afaik. xdg-open cant pass an additional
|
|
|
90 |
# parameters so these are to be xallexcepts.
|
|
|
91 |
application/x-fsdirectory|parentopen = dolphin --select %(childurl) %f
|
|
|
92 |
inode/directory|parentopen = dolphin --select %(childurl) %f
|
|
|
93 |
#application/x-fsdirectory|parentopen = nautilus %(childurl)
|
|
|
94 |
#inode/directory|parentopen = nautilus %(childurl)
|
|
|
95 |
|
80 |
application/x-gnuinfo = xterm -e "info -f %f"
|
96 |
application/x-gnuinfo = xterm -e "info -f %f"
|
81 |
application/x-gnumeric = gnumeric %f
|
97 |
application/x-gnumeric = gnumeric %f
|
82 |
|
98 |
|
83 |
application/x-flac = rhythmbox %f
|
99 |
application/x-flac = rhythmbox %f
|
84 |
audio/mpeg = rhythmbox %f
|
100 |
audio/mpeg = rhythmbox %f
|
|
... |
|
... |
93 |
image/vnd.djvu = djview %f
|
109 |
image/vnd.djvu = djview %f
|
94 |
image/x-xcf = gimp %f
|
110 |
image/x-xcf = gimp %f
|
95 |
image/bmp = gwenview %f
|
111 |
image/bmp = gwenview %f
|
96 |
image/x-ms-bmp = gwenview %f
|
112 |
image/x-ms-bmp = gwenview %f
|
97 |
image/x-xpmi = gwenview %f
|
113 |
image/x-xpmi = gwenview %f
|
|
|
114 |
image/x-nikon-nef = ufraw %f
|
98 |
|
115 |
|
|
|
116 |
# Opening mail messages:
|
|
|
117 |
# - Thunderbird will only open a single-message file if it has an .eml
|
|
|
118 |
# extension
|
|
|
119 |
# - "sylpheed %f" seems to work ok as of version 3.3
|
|
|
120 |
# - "kmail --view %u" works
|
|
|
121 |
# - claws-mail: works using a small intermediary shell-script, which you
|
|
|
122 |
# set as the viewer here. You need to have at least one account inside
|
|
|
123 |
# claws-mail, so that it creates ~/Mail/inbox. Script contents example
|
|
|
124 |
# follows. Using 1 is probably not a good idea if this is a real account
|
|
|
125 |
# (here I am using a bogus one, so that I can overwrite anything inside
|
|
|
126 |
# inbox at will):
|
|
|
127 |
# #!/bin/bash
|
|
|
128 |
# cp $1 ~/Mail/inbox/1
|
|
|
129 |
# claws-mail --select ~/Mail/inbox/1
|
|
|
130 |
# rm ~/Mail/inbox/1
|
99 |
message/rfc822 = thunderbird -file %f
|
131 |
message/rfc822 = thunderbird -file %f
|
|
|
132 |
|
100 |
text/x-mail = thunderbird -file %f
|
133 |
text/x-mail = thunderbird -file %f
|
101 |
application/x-mimehtml = thunderbird -file %f
|
134 |
application/x-mimehtml = thunderbird -file %f
|
102 |
|
135 |
|
103 |
text/calendar = evolution %f
|
136 |
text/calendar = evolution %f
|
104 |
|
137 |
|
|
... |
|
... |
136 |
text/x-c++ = emacsclient %f
|
169 |
text/x-c++ = emacsclient %f
|
137 |
text/x-csv = libreoffice %f
|
170 |
text/x-csv = libreoffice %f
|
138 |
text/x-html-sidux-man = konqueror %f
|
171 |
text/x-html-sidux-man = konqueror %f
|
139 |
text/x-html-aptosid-man = iceweasel %f
|
172 |
text/x-html-aptosid-man = iceweasel %f
|
140 |
|
173 |
|
|
|
174 |
application/x-chm = kchmviewer %f
|
141 |
# Html pages inside a chm have a chm rclaptg set by the filter. Kchmviewer
|
175 |
# Html pages inside a chm have a chm rclaptg set by the filter. Kchmviewer
|
142 |
# knows how to use the ipath (which is the internal chm path) to open the
|
176 |
# knows how to use the ipath (which is the internal chm path) to open the
|
143 |
# file at the right place
|
177 |
# file at the right place
|
144 |
text/html|chm = kchmviewer --url %i %F
|
178 |
text/html|chm = kchmviewer --url %i %F
|
145 |
|
179 |
|