Remove "Plain compressed files" section to use system wide configs...
Sync content with /etc/mc/mc.ext from Debian for version 4.8.1.
--- a/.config/mc/mc.ext Fri Apr 06 20:23:16 2012 +0300
+++ b/.config/mc/mc.ext Fri Apr 06 20:33:03 2012 +0300
@@ -143,7 +143,7 @@
Include=image
shell/.xcf
- Open=gimp %f
+ Open=(gimp %f &)
shell/.xbm
Include=image
@@ -153,9 +153,11 @@
Include=image
View=sxpm %f
+shell/.ico
+ Include=image
+
include/image
- Open=see %f
- #Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (gqview %f &); fi
+ Open=(see %f &)
View=%view{ascii} identify %f
#View=%view{ascii} asciiview %f
@@ -170,12 +172,15 @@
regex/\.([mM][pP]3)$
Open=run-mailcap audio/mpeg:%f &
- View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/Title:/,/Comment:/p;/^MPEG/,/^Audio/p'
+ View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
-regex/\.([oO][gG][gG])$
+regex/\.([oO][gG][gG|aA|vV|xX])$
Open=run-mailcap application/x-ogg:%f &
View=%view{ascii} ogginfo %s
+regex/\.([sS][pP][xX]|[fF][lL][aA][cC])$
+ Open=if [ "$DISPLAY" = "" ]; then play %f; else (xmms %f >/dev/null 2>&1 &); fi
+
regex/\.([mM][iI][dD][iI]?|[rR][mM][iI][dD]?)$
Open=run-mailcap audio/midi:%f
@@ -187,7 +192,7 @@
### Play lists ###
regex/\.([mM]3[uU]|[pP][lL][sS])$
- Open=if [ -z "$DISPLAY" ]; then mplayer -vo null -playlist %f; else (xmms -p %f &); fi
+ Open=if [ -z "$DISPLAY" ]; then mplayer -vo null -playlist %f; else (xmms -p %f >/dev/null 2>&1 &); fi
### Video ###
@@ -201,12 +206,19 @@
regex/\.([dD][iI][vV][xX])$
Include=video
+regex/\.([mM][kK][vV])$
+ Include=video
+
regex/\.([mM][oO][vV]|[qQ][tT])$
Include=video
regex/\.([mM][pP]4|[mM][pP][eE]?[gG])$
Include=video
+# MPEG-2 TS container + H.264 codec
+regex/\.([mM][tT][sS])$
+ Include=video
+
regex/\.([vV][oO][bB])$
Include=video
@@ -214,6 +226,9 @@
regex/\.([wW][mM][vV])$
Open=vlc %f &
+regex/\.([fF][lL][iIcCvV])$
+ Include=video
+
regex/\.([oO][gG][mM])$
Include=video
@@ -227,6 +242,7 @@
#Open=(gtv %f >/dev/null 2>&1 &)
#Open=(xanim %f >/dev/null 2>&1 &)
+
### Documents ###
# Postscript
@@ -267,12 +283,12 @@
# StarOffice 5.2
shell/.sdw
- Open=(ooffice %f &)
+ Open=(libreoffice %f &)
# 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)$
- Open=(ooffice %f &)
- View=%view{ascii} unzip -p %f content.xml | o3totxt
+ Open=(libreoffice %f &)
+ View=%view{ascii} odt2txt %f
# AbiWord
shell/.abw
@@ -293,17 +309,15 @@
# Microsoft Excel Worksheet
regex/\.([xX][lL][sSwW])$
- Open=run-mailcap application/vnd.ms-excel:%f &
- #Open=(gnumeric %f >/dev/null 2>&1 &)
+ Open=(gnumeric %f >/dev/null 2>&1 &)
View=%view{ascii} xls2csv %f || strings %f
type/^Microsoft\ Excel
- Open=run-mailcap application/vnd.ms-excel:%f &
- #Open=(gnumeric %f >/dev/null 2>&1 &)
+ Open=(gnumeric %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=(ooffice %f &)
+ Open=(libreoffice %f &)
# Framemaker
type/^FrameMaker
@@ -311,14 +325,8 @@
# DVI
regex/\.([dD][vV][iI])$
- Open=run-mailcap application/x-dvi:%f &
- #Open=if [ x$DISPLAY = x ]; then dvisvga %f; else (xdvi %f &); fi
- View=%view{ascii} dvi2tty %f
-
-# TeX
-regex/\.([Tt][Ee][Xx])$
- Open=sensible-editor %f
- #Open=%var{EDITOR:vi} %f
+ Open=run-mailcap %f 2>&1 &
+ View=%view{ascii} catdvi %f
shell/.fb2
Open=fbreader %f &
@@ -326,6 +334,9 @@
shell/.epub
Open=fbreader %f &
+# DjVu
+regex/\.(djvu|DJVU)$
+ Open=djview %f &
### Miscellaneous ###
@@ -350,38 +361,28 @@
regex/\.(rexx?|cmd)$
Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
-
-### Plain compressed files ###
+# Disk images for Commodore computers (VIC20, C64, C128)
+regex/\.(d64|D64)$
+ Open=%cd %p/uc1541://
+ View=%view{ascii} c1541 %f -list
+ Extract=c1541 %f -extract
-# zip
-type/^([Zz][Ii][Pp])\ archive
- Open=%cd %p#uzip
- View=%view{ascii} unzip -v %f
+# Glade, a user interface designer for GTK+ and GNOME
+regex/\.([Gg][Ll][Aa][Dd][Ee])$
+ 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
-# zoo
-regex/\.([Zz][Oo][Oo])$
- Open=%cd %p#uzoo
- View=%view{ascii} zoo l %f
-
-# gzip
-type/^gzip
- Open=gzip -dc %f | sensible-pager
- View=%view{ascii} gzip -dc %f 2>/dev/null
+# Gettext Catalogs
+shell/.mo
+ View=%view{ascii} msgunfmt %f || cat %f
-# bzip2
-type/^bzip2
- Open=bzip2 -dc %f | sensible-pager
- View=%view{ascii} bzip2 -dc %f 2>/dev/null
+# lyx
+regex/\.(lyx|LYX)$
+ Open=lyx %f
+ View=%view{ascii} lyxcat %f
-# bzip
-type/^bzip
- Open=bzip -dc %f | sensible-pager
- View=%view{ascii} bzip -dc %f 2>/dev/null
-
-# compress
-type/^compress
- Open=gzip -dc %f | sensible-pager
- View=%view{ascii} gzip -dc %f 2>/dev/null
+# torrent
+regex/\.([tT][oO][rR][rR][eE][nN][tT])$
+ View=%view{ascii} ctorrent -x %f 2>/dev/null
### Debian additions ###
@@ -407,6 +408,9 @@
Open=e %f
shell/.f
Open=e %f
+regex/\.([Tt][Ee][Xx])$
+ Open=e %f
+ #Open=%var{EDITOR:vi} %f
regex/\.(sh|bash|tcsh)
Edit=e %f
--- a/.config/mc/mc.ext.cygwin Fri Apr 06 20:23:16 2012 +0300
+++ b/.config/mc/mc.ext.cygwin Fri Apr 06 20:33:03 2012 +0300
@@ -127,49 +127,6 @@
Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
-### Plain compressed files ###
-
-# zip
-type/^([Zz][Ii][Pp])\ archive
- Open=%cd %p#uzip
- View=%view{ascii} unzip -v %f
-
-# zoo
-regex/\.([Zz][Oo][Oo])$
- Open=%cd %p#uzoo
- View=%view{ascii} zoo l %f
-
-# gzip
-type/^gzip
- Open=gzip -dc %f | sensible-pager
- View=%view{ascii} gzip -dc %f 2>/dev/null
-
-# bzip2
-type/^bzip2
- Open=bzip2 -dc %f | sensible-pager
- View=%view{ascii} bzip2 -dc %f 2>/dev/null
-
-# bzip
-type/^bzip
- Open=bzip -dc %f | sensible-pager
- View=%view{ascii} bzip -dc %f 2>/dev/null
-
-# compress
-type/^compress
- Open=gzip -dc %f | sensible-pager
- View=%view{ascii} gzip -dc %f 2>/dev/null
-
-### Debian additions ###
-
-# Gettext Catalogs
-shell/.mo
- View=%view{ascii} msgunfmt %f || cat %f
-
-### My. ###
-
-shell/.my
- Open=echo %f %{Enter opt:} %{Enter file:}
-
### Default ###
# Default target for anything not described above.