After installing Midnight Commander in CentOS 7, I looked for the configuration file in /home/$USER/.mc.ini but didn't find it. I want to change my default skin to another color scheme, but can't find config file.

up vote 2 down vote accepted

It's in the following file: ~/.config/mc/ini.

  • Unfortunately not... – obohovyk Oct 13 '14 at 7:53
  • 1
    @alexkowalski then it's ~/.config/mc/ini – UVV Oct 13 '14 at 8:02
  • Yeah, thanks!!! – obohovyk Oct 13 '14 at 8:41

If you have not made any changes, the config file does not yet exist.

The easy way to change from the default skin:

  1. Start Midnight Commander

    sudo mc
    
  2. F9, O for Options, or cursor to "Options" and press Enter

  3. A for Appearance, or cursor to Appearance and press Enter

    You will see that default is the current skin.

  4. Press Enter to see the other skin choices

  5. Cursor to the skin you want and select it by pressing Enter

  6. Click OK

After you do this, the ini file will exist and can be edited, but it is easier to change skins using the method I described.

  • There is no Appearance menu under Options. – Overmind Apr 23 at 5:26

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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