PATCH for mc.ext.in
- From: Nerijus Baliunas <nerijus users sourceforge net>
- To: mc-devel gnome org
- Subject: PATCH for mc.ext.in
- Date: Mon, 11 Feb 2002 22:11:06 +0200 (EET)
Hello,
mplayer plays both mpg and avi files much better than gtv (from smpeg)
and xanim.
Both links and w3m support frames and tables, besides, default RH 7.2
server installation includes links, but not lynx. And both use less
space than lynx.
Ted displays rtf files very nicely, as gnumeric displays xls files.
Regards,
Nerijus
--- mc.ext.in.orig Thu Nov 29 23:27:55 2001
+++ mc.ext.in Mon Feb 11 21:51:37 2002
@@ -276,10 +276,10 @@
### Multimedia ###
regex/\.(mpe?g|MPE?G|Mpe?g)$
- Open=(gtv %f 2>/dev/null &)
+ Open=(mplayer %f 2>/dev/null &)
regex/\.(avi|AVI|Avi|mov|MOV|Mov)$
- Open=(xanim %f 2>/dev/null &)
+ Open=(mplayer %f 2>/dev/null &)
regex/\.(rm|RM|Rm|ram|RAM|Ram)$
Open=(realplay %f &)
@@ -302,8 +302,8 @@
# html
regex/\.([Hh]tml?|HTML?)$
#Open=if echo "%d/%p" | grep ^ftp; then $viewer %d/%p; else $viewer file:%p; fi
- Open=if test -n "@X11_WWW@" && test -n "$DISPLAY"; then echo @X11_WWW@ %f; (@X11_WWW@ %f &) >/dev/null 2>&1; else lynx -force_html %f; fi
- View=%view{ascii} lynx -dump -force_html %f;
+ Open=if test -n "@X11_WWW@" && test -n "$DISPLAY"; then echo @X11_WWW@ %f; (@X11_WWW@ %f &) >/dev/null 2>&1; else links %f || w3m %f || lynx -force_html %f; fi
+ View=%view{ascii} links -dump %f || w3m -dump %f || lynx -dump -force_html %f
# StarOffice and OpenOffice
shell/.sdw
@@ -319,10 +319,17 @@
type/^Microsoft\ Word
View=%view{ascii} catdoc -w %f || word2x -f text %f - || strings %f
+# RTF document
+regex/\.(rtf|RTF|Rtf)$
+ Open=(Ted %f &) # http://www.nllgg.nl/Ted/
+ View=%view{ascii} strings %f
+
# Microsoft Excel Worksheet
regex/\.([Xx]l[sw]|XL[SW])$
+ Open=(gnumeric %f &)
View=%view{ascii} xls2csv %f || strings %f
type/^Microsoft\ Excel
+ Open=(gnumeric %f &)
View=%view{ascii} xls2csv %f || strings %f
# Use StarOffice to open any MS Office documents
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]