168 regex/\.([mM][oO][dD]|[sS]3[mM]|[xX][mM]|[iI][tT]|[mM][tT][mM]|669|[sS][tT][mM]|[uU][lL][tT]|[fF][aA][rR])$ |
170 regex/\.([mM][oO][dD]|[sS]3[mM]|[xX][mM]|[iI][tT]|[mM][tT][mM]|669|[sS][tT][mM]|[uU][lL][tT]|[fF][aA][rR])$ |
169 Open=run-mailcap application/x-mod:%f & |
171 Open=run-mailcap application/x-mod:%f & |
170 |
172 |
171 regex/\.([mM][pP]3)$ |
173 regex/\.([mM][pP]3)$ |
172 Open=run-mailcap audio/mpeg:%f & |
174 Open=run-mailcap audio/mpeg:%f & |
173 View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/Title:/,/Comment:/p;/^MPEG/,/^Audio/p' |
175 View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p' |
174 |
176 |
175 regex/\.([oO][gG][gG])$ |
177 regex/\.([oO][gG][gG|aA|vV|xX])$ |
176 Open=run-mailcap application/x-ogg:%f & |
178 Open=run-mailcap application/x-ogg:%f & |
177 View=%view{ascii} ogginfo %s |
179 View=%view{ascii} ogginfo %s |
|
180 |
|
181 regex/\.([sS][pP][xX]|[fF][lL][aA][cC])$ |
|
182 Open=if [ "$DISPLAY" = "" ]; then play %f; else (xmms %f >/dev/null 2>&1 &); fi |
178 |
183 |
179 regex/\.([mM][iI][dD][iI]?|[rR][mM][iI][dD]?)$ |
184 regex/\.([mM][iI][dD][iI]?|[rR][mM][iI][dD]?)$ |
180 Open=run-mailcap audio/midi:%f |
185 Open=run-mailcap audio/midi:%f |
181 |
186 |
182 regex/\.([wW][mM][aA])$ |
187 regex/\.([wW][mM][aA])$ |
199 Include=video |
204 Include=video |
200 |
205 |
201 regex/\.([dD][iI][vV][xX])$ |
206 regex/\.([dD][iI][vV][xX])$ |
202 Include=video |
207 Include=video |
203 |
208 |
|
209 regex/\.([mM][kK][vV])$ |
|
210 Include=video |
|
211 |
204 regex/\.([mM][oO][vV]|[qQ][tT])$ |
212 regex/\.([mM][oO][vV]|[qQ][tT])$ |
205 Include=video |
213 Include=video |
206 |
214 |
207 regex/\.([mM][pP]4|[mM][pP][eE]?[gG])$ |
215 regex/\.([mM][pP]4|[mM][pP][eE]?[gG])$ |
|
216 Include=video |
|
217 |
|
218 # MPEG-2 TS container + H.264 codec |
|
219 regex/\.([mM][tT][sS])$ |
208 Include=video |
220 Include=video |
209 |
221 |
210 regex/\.([vV][oO][bB])$ |
222 regex/\.([vV][oO][bB])$ |
211 Include=video |
223 Include=video |
212 |
224 |
213 # Old VLC under Debian have no association for wmv mimetype. |
225 # Old VLC under Debian have no association for wmv mimetype. |
214 regex/\.([wW][mM][vV])$ |
226 regex/\.([wW][mM][vV])$ |
215 Open=vlc %f & |
227 Open=vlc %f & |
|
228 |
|
229 regex/\.([fF][lL][iIcCvV])$ |
|
230 Include=video |
216 |
231 |
217 regex/\.([oO][gG][mM])$ |
232 regex/\.([oO][gG][mM])$ |
218 Include=video |
233 Include=video |
219 |
234 |
220 regex/\.([rR][aA]?[mM])$ |
235 regex/\.([rR][aA]?[mM])$ |
265 Open=run-mailcap text/html:%f & |
281 Open=run-mailcap text/html:%f & |
266 View=%view{ascii} links -dump %f 2>/dev/null || w3m -dump %f 2>/dev/null || lynx -dump -force_html %f |
282 View=%view{ascii} links -dump %f 2>/dev/null || w3m -dump %f 2>/dev/null || lynx -dump -force_html %f |
267 |
283 |
268 # StarOffice 5.2 |
284 # StarOffice 5.2 |
269 shell/.sdw |
285 shell/.sdw |
270 Open=(ooffice %f &) |
286 Open=(libreoffice %f &) |
271 |
287 |
272 # StarOffice 6 and OpenOffice.org formats |
288 # StarOffice 6 and OpenOffice.org formats |
273 regex/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$ |
289 regex/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$ |
274 Open=(ooffice %f &) |
290 Open=(libreoffice %f &) |
275 View=%view{ascii} unzip -p %f content.xml | o3totxt |
291 View=%view{ascii} odt2txt %f |
276 |
292 |
277 # AbiWord |
293 # AbiWord |
278 shell/.abw |
294 shell/.abw |
279 Open=(abiword %f &) |
295 Open=(abiword %f &) |
280 |
296 |
291 Open=run-mailcap text/rtf:%f & |
307 Open=run-mailcap text/rtf:%f & |
292 #Open=(abiword %f >/dev/null 2>&1 &) |
308 #Open=(abiword %f >/dev/null 2>&1 &) |
293 |
309 |
294 # Microsoft Excel Worksheet |
310 # Microsoft Excel Worksheet |
295 regex/\.([xX][lL][sSwW])$ |
311 regex/\.([xX][lL][sSwW])$ |
296 Open=run-mailcap application/vnd.ms-excel:%f & |
312 Open=(gnumeric %f >/dev/null 2>&1 &) |
297 #Open=(gnumeric %f >/dev/null 2>&1 &) |
|
298 View=%view{ascii} xls2csv %f || strings %f |
313 View=%view{ascii} xls2csv %f || strings %f |
299 type/^Microsoft\ Excel |
314 type/^Microsoft\ Excel |
300 Open=run-mailcap application/vnd.ms-excel:%f & |
315 Open=(gnumeric %f >/dev/null 2>&1 &) |
301 #Open=(gnumeric %f >/dev/null 2>&1 &) |
|
302 View=%view{ascii} xls2csv %f || strings %f |
316 View=%view{ascii} xls2csv %f || strings %f |
303 |
317 |
304 # Use OpenOffice.org to open any MS Office documents |
318 # Use OpenOffice.org to open any MS Office documents |
305 type/^Microsoft\ Office\ Document |
319 type/^Microsoft\ Office\ Document |
306 Open=(ooffice %f &) |
320 Open=(libreoffice %f &) |
307 |
321 |
308 # Framemaker |
322 # Framemaker |
309 type/^FrameMaker |
323 type/^FrameMaker |
310 Open=fmclient -f %f |
324 Open=fmclient -f %f |
311 |
325 |
312 # DVI |
326 # DVI |
313 regex/\.([dD][vV][iI])$ |
327 regex/\.([dD][vV][iI])$ |
314 Open=run-mailcap application/x-dvi:%f & |
328 Open=run-mailcap %f 2>&1 & |
315 #Open=if [ x$DISPLAY = x ]; then dvisvga %f; else (xdvi %f &); fi |
329 View=%view{ascii} catdvi %f |
316 View=%view{ascii} dvi2tty %f |
|
317 |
|
318 # TeX |
|
319 regex/\.([Tt][Ee][Xx])$ |
|
320 Open=sensible-editor %f |
|
321 #Open=%var{EDITOR:vi} %f |
|
322 |
330 |
323 shell/.fb2 |
331 shell/.fb2 |
324 Open=fbreader %f & |
332 Open=fbreader %f & |
325 |
333 |
326 shell/.epub |
334 shell/.epub |
327 Open=fbreader %f & |
335 Open=fbreader %f & |
328 |
336 |
|
337 # DjVu |
|
338 regex/\.(djvu|DJVU)$ |
|
339 Open=djview %f & |
329 |
340 |
330 ### Miscellaneous ### |
341 ### Miscellaneous ### |
331 |
342 |
332 # Makefile |
343 # Makefile |
333 regex/[Mm]akefile$ |
344 regex/[Mm]akefile$ |
348 |
359 |
349 # REXX script |
360 # REXX script |
350 regex/\.(rexx?|cmd)$ |
361 regex/\.(rexx?|cmd)$ |
351 Open=rexx %f %{Enter parameters};echo "Press ENTER";read y |
362 Open=rexx %f %{Enter parameters};echo "Press ENTER";read y |
352 |
363 |
353 |
364 # Disk images for Commodore computers (VIC20, C64, C128) |
354 ### Plain compressed files ### |
365 regex/\.(d64|D64)$ |
355 |
366 Open=%cd %p/uc1541:// |
356 # zip |
367 View=%view{ascii} c1541 %f -list |
357 type/^([Zz][Ii][Pp])\ archive |
368 Extract=c1541 %f -extract |
358 Open=%cd %p#uzip |
369 |
359 View=%view{ascii} unzip -v %f |
370 # Glade, a user interface designer for GTK+ and GNOME |
360 |
371 regex/\.([Gg][Ll][Aa][Dd][Ee])$ |
361 # zoo |
372 Open=if glade-3 --version >/dev/null 2>&1; then (glade-3 %f >/dev/null 2>&1 &); else (glade-2 %f >/dev/null 2>&1 &); fi |
362 regex/\.([Zz][Oo][Oo])$ |
373 |
363 Open=%cd %p#uzoo |
374 # Gettext Catalogs |
364 View=%view{ascii} zoo l %f |
375 shell/.mo |
365 |
376 View=%view{ascii} msgunfmt %f || cat %f |
366 # gzip |
377 |
367 type/^gzip |
378 # lyx |
368 Open=gzip -dc %f | sensible-pager |
379 regex/\.(lyx|LYX)$ |
369 View=%view{ascii} gzip -dc %f 2>/dev/null |
380 Open=lyx %f |
370 |
381 View=%view{ascii} lyxcat %f |
371 # bzip2 |
382 |
372 type/^bzip2 |
383 # torrent |
373 Open=bzip2 -dc %f | sensible-pager |
384 regex/\.([tT][oO][rR][rR][eE][nN][tT])$ |
374 View=%view{ascii} bzip2 -dc %f 2>/dev/null |
385 View=%view{ascii} ctorrent -x %f 2>/dev/null |
375 |
|
376 # bzip |
|
377 type/^bzip |
|
378 Open=bzip -dc %f | sensible-pager |
|
379 View=%view{ascii} bzip -dc %f 2>/dev/null |
|
380 |
|
381 # compress |
|
382 type/^compress |
|
383 Open=gzip -dc %f | sensible-pager |
|
384 View=%view{ascii} gzip -dc %f 2>/dev/null |
|
385 |
386 |
386 ### Debian additions ### |
387 ### Debian additions ### |
387 |
388 |
388 # Gettext Catalogs |
389 # Gettext Catalogs |
389 shell/.mo |
390 shell/.mo |