--- b.orig 2004-06-19 15:46:58 +0400 +++ b.orig 2004-06-19 15:48:17 +0400 @@ -221,7 +221,7 @@ View=sxpm %f include/image - Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (ee %f &); fi + Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (kuickshow %f &); fi View=%view{ascii} identify %f #View=%view{ascii} asciiview %f @@ -300,7 +300,7 @@ # html regex/\.([Hh]tml?|HTML?)$ - Open=if test -n "" && test -n "$DISPLAY"; then ( file://%d/%p &) >/dev/null 2>&1; else links %f 2>/dev/null || lynx -force_html %f; fi + Open=if test -n "$BROWSER" && test -n "$DISPLAY"; then ($BROWSER file://%d/%p &) >/dev/null 2>&1; else links %f 2>/dev/null || lynx -force_html %f; fi View=%view{ascii} links -dump %f # StarOffice 5.2 @@ -376,6 +376,10 @@ regex/\.(rexx|rex|cmd)$ Open=rexx %f %{Enter parameters};echo "Press ENTER";read y +# gnumeric +regex/\.(gnumeric)$ + Open=gnumeric %f + ### Archives ### @@ -384,6 +388,11 @@ Open=%cd %p#utar View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf - +# .war +regex/\.war$ + Open=%cd %p#utar + View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf - + regex/\.tar\.bz$ # Open=%cd %p#utar View=%view{ascii} bzip -dc %f 2>/dev/null | tar tvvf - @@ -498,6 +507,16 @@ Open=%cd %p#deb View=%view{ascii} dpkg-deb -c %f +# lyx +regex/\.(lyx|LYX)$ + Open=lyx %f + View=%view{ascii} lyxcat %f + +# svg +regex/\.(svg|SVG)$ + Open=sodipodi %f + View=display %f + ### Default ###