MC (GNU Midnight Commander) is a free cross-platform orthodox file manager and a clone of Norton Commander. It was started by Miguel de Icaza in 1994.
Questions tagged [mc]
128 questions
44
votes
14 answers
Slow start of Midnight Commander
Is there any way to prevent mc from taking 10-30 seconds to open?

stiv
- 1,541
27
votes
3 answers
How to set default editor/viewer for Midnight Commander to Sublime
The question is quite straightforward, so no further description is needed according to me.
I just add that I am running Ubuntu 13.04.
Any help is welcomed.

Jendas
- 405
25
votes
2 answers
Go to file/directory in Midnight Commander by typing
One thing I really miss in Midnight Commander (compared to some GUI file explorers, like f.e. Thunar) is the ability to go to a certain directory by just typing prefix of its name.
For example for a current directory…

syntagma
- 12,311
23
votes
3 answers
How to use command line completion in Midnight Commander?
An essential convenience feature every reasonable shell provides is command / file name completion (usually triggered by pressing Tab). I miss it heavily when I use command line in Midnight Commander. Is there a way to use it (other than by hiding…

Ivan
- 17,708
23
votes
2 answers
Does mc (Midnight Commander) have favourites for directories?
If I am in remote directory on different server via ssh I want to do to directory like /var/lib/edumate/backup without typing the whole path. Is there any way to do that in mc?

Radek
- 2,993
- 18
- 39
- 52
16
votes
1 answer
Midnight Commander: How to format file size as a number with digit group separators?
When dealing with large files in Midnight Commander, I have difficulties counting the digits to get the order of magnitude of the file size (hundreds of MB, or tens of GB, etc.).
Sometimes, I use the trick to press the Insert key, which highlights…

user1968963
- 4,083
16
votes
1 answer
Natural sort order in Midnight Commander
How can I fix sort order in Midnight Commander to sort numbers correctly?
I need such order:
1.png
9.png
10.png
19.png
22.png
a.png
test.png
z.png

Serhii
- 163
14
votes
2 answers
Is there are any documentation about user-defined menu in midnight-commander?
I'd like to create my own user-defined menu for mc (menu file).
I see some lines like
+ t r & ! t t
or
+ t t
What does it mean?

login
- 275
13
votes
2 answers
Midnight Commander config dir location startup option
If you run
mc -F
you'll see there are [System data] config directory and [User data] config directory
[System data]
Config directory: /etc/mc/
[User data]
Config directory: /home//.config/mc/
First is system-wide, the second is User…

Tagwint
- 2,480
10
votes
1 answer
Change sort order with shortcuts in Midnight Commander?
How to change sort order with shortcuts? I know that I can put that in ~/.config/mc/mc.keymap file but what exactly to type?

dukasvili
- 203
6
votes
1 answer
Have mc show size, time and permissions at once
Simple question: How can I set up mc (midnight commander) to show columns for the file name, size, time and permissions all at once? I can cycle through 4 modes with Alt+T but none of them shows all desired data and still two panels side by side. Is…

ygoe
- 223
- 2
- 13
6
votes
1 answer
Prevent Midnight Commander opening files on mouse click?
I use to accidentally doubleclick an archive on a remote FS (in a FISH panel) and then it starts being downloaded to be opened - very annoying. Can I prevent MC opening files with the mouse to avoid this?
It would also be nice to totally forbid…

Ivan
- 17,708
4
votes
2 answers
Specify the tmp path for Midnight Commander
I have an Ubuntu running on a 250 go ~ hard drive.
When I'm copying 300 go + folder to another location, using mc, I can see that it creates a tmp file located in /tmp/mc-$USER which getting bigger as far as the copy is processing until it reach…

Emidomenge
- 241
4
votes
1 answer
Collapsing a Midnight Commander directory tree
When using Midnight Commander and making my left panel a directory tree, I open a directory and it expands with Enter, but when I press Enter again nothing happens. This is a fresh install of mc on Ubuntu 19.04. How do I collapse the directory tree…

Patoshi パトシ
- 1,775
3
votes
2 answers
What happened to the Midnight Commander support for marking files?
In 2010 someone requested that Midnight Commander allow marking files by pressing Shift+up and Shift+down, followed by moving up and down respectively.
This feature was implemented in version 4.7.3.
However (as of the latest version), the feature…

EmmaV
- 4,067