shell/.ico
Include=image
-include/oldimage
+include/image
Open=(see %f &)
View=%view{ascii} identify %f
#View=%view{ascii} asciiview %f
#regex/\.([wW][mM][aA])$
# Open=mplayer -vo null %f
# View=%view{ascii} mplayer -quiet -slave -frames 0 -vo null -ao null -identify %f 2>/dev/null | tail +13 || file %f
-
-
-### Play lists ###
-
+#
+#
+#### Play lists ###
+#
#regex/\.([mM]3[uU]|[pP][lL][sS])$
# Open=if [ -z "$DISPLAY" ]; then mplayer -vo null -playlist %f; else (xmms -p %f >/dev/null 2>&1 &); fi
# Postscript
type/^PostScript
- Open=(gv %f &)
+# Open=(gv %f &)
View=%view{ascii} ps2ascii %f
# PDF
# StarOffice 6 and OpenOffice.org formats
regex/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
+ Edit=(libreoffice %f &)
Open=(libreoffice %f &)
View=%view{ascii} odt2txt %f
Open=(abiword %f &)
# Microsoft Word Document
-regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
- Open=(abiword %f >/dev/null 2>&1 &)
- View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
-type/^Microsoft\ Word
- Open=(abiword %f >/dev/null 2>&1 &)
- View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
-
-# RTF document
+#regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
+# Open=(abiword %f >/dev/null 2>&1 &)
+# View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
+#type/^Microsoft\ Word
+# Open=(abiword %f >/dev/null 2>&1 &)
+# View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
+#
+## RTF document
#regex/\.([rR][tT][fF])$
# Open=(abiword %f >/dev/null 2>&1 &)
View=%view{ascii} xls2csv %f || strings %f
# Use OpenOffice.org to open any MS Office documents
-type/^Microsoft\ Office\ Document
- Open=(libreoffice %f &)
+#type/^Microsoft\ Office\ Document
+# Open=(libreoffice %f &)
# Framemaker
type/^FrameMaker
Open=fbreader %f &
View=%view{ascii} xsltproc /usr/local/src/FictionBook/FB2_2_txt_ru.xsl %f
+type/^PostScript
+ Open=evince %f &
+ View=%view{ascii} ps2ascii %f
+
# RTF
regex/\.([rR][tT][fF])$
Open=fbreader %f &
View=%view{ascii} catdoc %f
+regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
+ Include=msoffice
+
+regex/\.([Dd][oO][cC][Xx])$
+ Edit=libreoffice %f &
+ Open=libreoffice %f &
+ View=%view{ascii} docx2txt %f - | iconv.py -f utf-8
+
+type/^Microsoft\ Word
+ Include=msoffice
+
+type/^Microsoft\ Office\ Document
+ Include=msoffice
+
+type/^Composite\ Document\ File
+ Include=msoffice
+
# ftplist
regex/\.ftplist$
Open=%cd %p#ftplist
View=%view{ascii} nm %f
Disassemble=%view{ascii} objdump -d -r %f
-# Python eggs are zip archives
-shell/.egg
- Open=%cd %p/uzip://
- View=%view{ascii} unzip -v %f
-
# Python
shell/.py
Open=python %f
include/audio
#Open=[ "`audtool --get-volume`" -eq 0 ] && (audacious & sleep 3); audtool --playlist-clear --playlist-addurl %f --playback-play
- #Open=smplay %f &
+ #Open=smplayer %f &
Open=deadbeef %f &
#Open=mediaplayer_open %f
View=%view{ascii} %f
+include/msoffice
+ Edit=libreoffice %f &
+ Open=libreoffice %f &
+ View=%view{ascii} catdoc %f
+
include/video
- Open=smplay %f &
+ Open=smplayer %f &
#Open=mediaplayer_open %f
View=%view{ascii} %f