I suppose, there is a menu in mc itself, where you can edit all the connections to a programm according to its ending. Look at "Command", then "Edit extension file" (if you use English version). If you do not find it, cause your Debian is in another language, start mc by using LANG=C mc. Good luck! Hans