Due to changes in glib, mc.ext.ini now requires double backslashes as per their documentation.
# Regex # An extended regular expression # Please note that we are using the PCRE library and thus \\| matches # the literal | and | has a special meaning (or), and () have a special meaning # and \\( \\) stand for literal ( ). # # An unescaped backslash \ is handled as invalid escape sequences in glib = 2.77.3 and # glib >= 2.79 (https://gitlab.gnome.org/GNOME/glib/-/issues/3094), therefore backslash # must be escaped. # # Example: # Regex=\\.t(ar\\.lzma|lz)$ # matches *.tar.lzma or *.tlz. I use geeqie and gnumeric and mplayer a lot. Substitute your programs if you use something else. The trailing "&" causes a separate process to fork off and the "mc" program to return. This allows mc to do stuff like opening multiple spreadsheet and csv files, so you can copy between spreadsheets. Here is my custom stuff, inserted right after the comments at the beginning of the actual config data. The first match is executed, so putting this at the front over-rides later entries. [mc.ext.ini] Version=4.0 ###Start custom stuff### [image] Regex=\\.(gif|jpeg|jpg|png|jng|mng|tiff|xbm|xpm|ico|svg|pgm|ppm|netpbm)$ RegexIgnoreCase=true Open=/usr/bin/geeqie %p & View=/usr/bin/geeqie %p & [spreadsheet] Regex=\\.(csv|gnumeric|xl[sw]|xlsx)$ RegexIgnoreCase=true Open=/usr/bin/gnumeric %p & [video] Regex=\\.(as[fx]|avi|divx|fl[icv]|m4v|mkv|mov|mp4|mpe?g|mts|ogv|qt|ra?m|ts|vob|webm|wmv)$ RegexIgnoreCase=true Open=/usr/bin/mplayer %p & #####End custom stuff### -- There are 2 types of people in this world 1) Those who can extrapolate from incomplete data