Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I installed Midnight Commander and tried to change the colour scheme, but unfortunately it doesn't apply the ~/.mc/ini file.

It's Midnight Commander 4.8.1, on Ubuntu 12.04. When I installed it, it didn't have the .mc folder, so I had to create it first. I've searched the internet and found nothing useful.

Does anyone have any ideas on how I can fix this?

share|improve this question

2 Answers 2

The configuration is stored in

$HOME/.config/mc/

In your case edit the file $HOME/.config/mc/ini. You can check which files are actually read in by midnight-commander using strace:

strace -e trace=open -o mclog mc
share|improve this answer
    
There might be something else going on. If I edit ~/.config/mc/ini before launching mc, change, say, old_esc_mode=0 to 1, then launch mc, exit it, and check that file again - old_esc_mode will still be 0. –  Dan Dascalescu Nov 13 at 0:47

Did you use F9/Options/Save setup?

I'm asking because I had a similar problem (mc didn't save the panel sort order). It turns out that there's probably been some default settings change and now mc doesn't save changes to the configuration automatically anymore (that was the behaviour I was expecting...)

share|improve this answer

Your Answer

 
discard

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.