LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-24-2014, 03:49 AM   #1
Rava
Member
 
Registered: May 2010
Location: Southern Germany
Distribution: Slackware/Porteus
Posts: 70
Blog Entries: 1

Rep: Reputation: 18
Howto: Undo midnight commander (mc) no longer showing hidden files and folders


This is meant as a howto / solution if anyone else got into that issue.

It seems, my mistake, I changed some settings in my mc... So, midnight commander (mc) no longer showed hidden files and folders. I can still navigate in there by using ls -l in it's console, and then change manually (in mc's console) into such folders...

I tried finding the "hidden" entry in ~/.config/mc/ini, but first to no prevail... But then I found the entry. It is named show_dot_files and was set to false.

What you have to do to undo this:
The menu way:
Options -> Panel options -> Set the "X" into "Show hidden files"


The manual way:
(Since I not found the entry in any menus, and I also have no clue if this could be switched on and off by a keyboard shortcut)

* Exist all running mc's for that user, or else another mc might overwrite on exit the setting you are gonna restore.
* Edit mc's ini file. best not to use mcedit for that, but another unrelated editor, like so:
Code:
# vi ~/.config/mc/ini
Find the entry show_dot_files=false and replace it with
Code:
show_dot_files=true
Save the ini file and start mc anew, and all hidden files and folders are there once again.

I found in the man page of mc:
Quote:
Panel options
Main panel options
Show hidden files. If enabled, the Midnight Commander will show all
files that start with a dot (like ls -a). Disabled by default.
But, for all my mc's, that option was set to "enabled", aka show hidden files and folders...

Last edited by Rava; 10-24-2014 at 03:56 AM.
 
Old 10-25-2014, 07:09 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
due to LQ's zero-reply-policy, i think this would have been better posted on a blog.
 
1 members found this post helpful.
Old 10-25-2014, 03:45 PM   #3
Rava
Member
 
Registered: May 2010
Location: Southern Germany
Distribution: Slackware/Porteus
Posts: 70

Original Poster
Blog Entries: 1

Rep: Reputation: 18
^
And how do I post blogs on LQ? Is there a howto somewhere for that?
 
Old 10-25-2014, 04:25 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,275
Blog Entries: 21

Rep: Reputation: 3503Reputation: 3503Reputation: 3503Reputation: 3503Reputation: 3503Reputation: 3503Reputation: 3503Reputation: 3503Reputation: 3503Reputation: 3503Reputation: 3503
Quote:
Originally Posted by Rava View Post
^
And how do I post blogs on LQ? Is there a howto somewhere for that?
Worth a rep point from me anyhows. Over Here.http://www.linuxquestions.org/questions/blog/

You can click on my messy blog links in my posting profile to see it is just done like posting a thread.
 
1 members found this post helpful.
Old 10-25-2014, 04:54 PM   #5
Rava
Member
 
Registered: May 2010
Location: Southern Germany
Distribution: Slackware/Porteus
Posts: 70

Original Poster
Blog Entries: 1

Rep: Reputation: 18
Done:
http://www.linuxquestions.org/questi...folders-36267/

Now that I posted it, I see it got put into "Uncategorized"... I somehow missed the categories while editing the blog entry...
I think I cannot change it into a better category afterwards?

... now, can a mod remove this entire thread? Or is that not possible?

Last edited by Rava; 10-25-2014 at 04:58 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Midnight Commander, F-keys, UTF-8 and ASCII characters not showing correctly Imyrryr Linux - Software 7 01-23-2013 09:39 AM
[SOLVED] Howto to use ImageMagick as default Jpeg viewer for Midnight Commander Tim Johnson Linux - Software 3 08-01-2011 01:48 AM
How to force Midnight Commander deleting files&folders to GUI trash? von.hake Linux - Desktop 5 01-17-2011 05:29 AM
Evolution is showing hidden files and folders in the folder tree Cyberman Linux - Software 1 10-11-2010 01:58 AM
Renaming files in Midnight Commander Josnap Linux - Software 2 09-02-2003 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration