Midnight Commander Centos7

I use midnight commander on Linux all the time but with Centos7, some odd behaviors have cropped up.

When in the shell, I might move to another directory but when I fire up mc, it remains in what ever last directory it was and worse, makes the second window that same directory.

There is another problem but I can't seem to remember what it was now so I'm mentioning it in case I find it after someones replied :)
projectsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rindiCommented:
Check the settings within mc. Under Options, Configuration you can set some defaults like you want them, and there is also an "Auto save setup", which in many systems id the default setting. If that is on it would save the state as it was when you left last time, and that usually isn't what you would want. There are further settings you can change in the Options, like layout, Panel options etc. Once you are satisfied with your settings, open options again then select "Save setup".
0
projectsAuthor Commented:
Yes, I've done all that and auto save setup was on. It's the first thing I do when I set up a server, configure mc because I use it as much as the command line.
0
rindiCommented:
You could also delete the .config/mc folder of the user's profile you are running mc on. That's where it's settings are stored, and then when you start mc again it should start with it's default settings and write a new config folder there.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

projectsAuthor Commented:
Tried that, re-configured (though, default settings were fine) but it still does the same thing.
Every time I close it, it open one windows at what ever the last mc or shell directory was and opens the second window to the same location.
0
rindiCommented:
Are you sure you got the settings right?in mine I have disabled auto save, in pane options I have auto save panels setup off too, and then I use save setup, and the next time it starts it always starts the way I left it before saving the setup.
0
projectsAuthor Commented:
Yes, the settings I posted are correct. Changing auto save in either main configuration or panels doesn't change the behavior.
0
projectsAuthor Commented:
For a test, I changed the auto-save setting then saved it, closed mc, went back into it and looked at the setting which remained as before it was set.

Something weird about Centos7 and mc, permissions or something?
0
projectsAuthor Commented:
Tested by editing the mc.ini file and sure enough, it constantly changes back to default no matter what.
0
projectsAuthor Commented:
It's a bug.
I edited the file one more time and changed it to 1 instead of true, saved it and exited mc.
When I came back into mc, the new value was now true and it works as it should.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
projectsAuthor Commented:
Figured it out for myself.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.