Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Midnight Commander on Mac OS X (version 4.8.4)

I have two problems and I would be very glad if you can help me:


The binding for file extensions are set for Linux distribution. For example, if I try to open some jpg file:

/usr/local/Cellar/midnight-commander/4.8.4/libexec/mc/ext.d/ line 39: gqview: command not found

Has anyone gotten this binding file to work on Mac OSX? (open pdf file in Preview, etc)


I am used to so called "lynx-like movement" - to be able to enter a directory with only an arrow key (and to leave a directory with an arrow key). But this option is not in my MC (it is working on Ubunut's MC for ages...)

share|improve this question

Start mc, click on Command and then on edit extension file (or F9, c, e). Then, for example, search (F7) for pdf and change

<------->Open=(xpdf %f &)


<------->Open=(open %f &)

How exit and save (F10). Changes are immediately applied.

open Starts Preview by default. Repeat this for all extensions you want te re-bind. As long as you agree with LaunchServices, you can use open. You can also just use any specific application.

Other usefull additions to mc.ext:

# PowerPoint
        Open=(open %f &)

# Word
        Open=(open %f &)

# Excel
        Open=(open %f &)
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.