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.

learn more… | top users | synonyms

0
votes
1answer
21 views

MC (Midnight Commmander) mc.ini settings file location

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

Why can't I install the midnight commander on Debian?

The midnight commander is not installed on my Debian Linux, so I tried to download it. I ran apt-get install mc in the terminal but it says the pack is not found. I did this task as root and the ...
4
votes
2answers
28 views

Long start time of MC due to bash function

I have next bash function to ensure new-lines after commands: user at terra in ~ $ echo "m" m user at terra in ~ $ echo -n "m" m↵ And the function itself in a .bashrc: function prompt_command { ...
1
vote
0answers
13 views

MC (Midnight Commander) Full Path in Title Row of Internal Editor

On some systems (Midnight Commander 4.8.1.4, Midnight Commander 4.8.3) the MC shows the full path of the opened file in the internal editor and on other systems (Midnight Commander 4.7.0.2, Midnight ...
1
vote
1answer
13 views

Hide top and bottom menus from Midnight Commander

Can I hide top ("File", "Options", etc) and bottom ("Help", "View", "Edit", etc) menus from Midnight Commander? If so, how can I do it?
2
votes
1answer
31 views

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?
1
vote
1answer
38 views

MC does not apply custom config

I have a fresh installation of Debian 7. Upon using Midnight Commander I noticed that auto indentation is disabled. 'No problem' I told to myself and changed the ~/.config/mc/ini file. Surprisingly ...
1
vote
0answers
84 views

midnight commander: settings for mcview not honored

Midnight Commander supports skins, where custom colors can be defined. I have created my own skin with custom colors. However, I am unable to change the color for the internal viewer (mcview). ...
1
vote
0answers
45 views

midnight commander: rules for accessing archives through VFS

Midnight Commander uses virtual filesystem (VFS) for displying files, such as contents of a .tar.gz archive, or of .iso image. This is configured in mc.ext with rules such as this one (Open is Enter, ...
0
votes
1answer
42 views

MC and MCedit take long time to start

I recently discovered that my MidnightCommander takes around 40 seconds for every startup and the same goes for McEdit. I access my machine only via ssh and of course I'm not logging in as root, only ...
0
votes
0answers
39 views

Midnight commander: shortcut keys for entries in directory hotlist

In midnight commander, is that possible to define shortcut keys for entries in directory hotlist? E.g., press Control+\ and then k to go to desktop, where k is the user defined key for desktop?
1
vote
0answers
35 views

Midnight Commander displays 'Unselect' dialog when I press F4 to edit a file

When I press F4 in Midnight Commander, I expect it to edit a file. It displays the 'Unselect' dialog instead. What could have caused it and how can I fix it? This may or may not be caused by my ...
4
votes
1answer
121 views

Midnight Commander, using date in User menu

I would like to use MC (midnight commander) to compress the selected dir with date in its name, e.g: dirname_20131231.tar.gz The command in the User menu is : tar -czf dirname_`date ...
0
votes
1answer
33 views

executing any program in mc ends putty session if not logged in with root

Maybe there is a simple-obvious solution for this but I dont know how to make mc to be able to execute programs when I press enter/double click on it and I am not logged in as root... the executable ...
0
votes
1answer
124 views

mc: customizig colors with skins

I am editing the default skin for midnight commander and I would like to add some more rules for file highlighting. In the filehighlight section, there are several categories, for example archive=red; ...
0
votes
2answers
181 views

mc: edit skin color

I am trying to edit color skins for midnight commander. When using 256 color palette, the colors are called color1 to color255. I am looking for particular tone of blue. Is there a palette of all 256 ...
1
vote
1answer
101 views

midnight commander: specify commandline options in global config file

I want to start mc always with the --nomouse option. Is there a way to put this option into the (global) config file, so that I don't have to type it every time ?
1
vote
2answers
2k views

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.
3
votes
1answer
782 views

Midnight Commander: file size format

When dealing with large files in MC, 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 ...
1
vote
3answers
3k views

Slow start of Midnight Commander on CentOS

Is there any way to prevent mc from taking 10-30 seconds to open? Never seen this with Debian.
3
votes
1answer
741 views

Perform commands on selected items in Midnight Commander

How can I perform a command on the selected items ? for example calling vim, or gimp for the 5 text or image files selected. I tried to make use of the inlined command line at the bottom, but it ...
3
votes
1answer
376 views

Can I execute commands from a midnight commander ssh connection?

When I connect to a VPS via a Shell link in MC, the location of the command prompt remains at my local box. I would like to be able to execute commands (e.g. mkdir, tar/untar) directly from the ...
1
vote
1answer
454 views

mouse in gnome-terminal

how to set up mouse in terminal window? when i click on midnight commander captions i get raw data from mouse printed as characters in terminal and any running progs don't understand mouses clicks. I ...
4
votes
2answers
2k views

Configure MC and aptitude color schemes

I'm using Ubuntu, and I'm having trouble reading text in MC and Aptitude because of the color scheme. Is there any way to change it?
1
vote
1answer
1k views

Insert selected filename while copying in Midnight Commander

Is it possible to paste the selected filename into the copy popup, so when I hit F5 this filename will be in the 'to' section, so I can adjust it? For example: I want to copy ...
3
votes
1answer
539 views

Using word wrap with mc

According to the man page for mc, the internal editor (mc -e) has a word wrap option. How can I turn this on? I have found settings in "Options" --> "General", however, this seems to only change text ...
2
votes
2answers
6k views

How to connect through sftp to a non-standard port on Midnight Commander?

In Midnight Commander one can make an SFTP connection to a remote machine using: cd #sh:yourusername@example.com:/home/username/ How can this be done when the remote machine is using a non-standard ...
1
vote
1answer
4k views

Use configuration file for ftp with auto login enabled upon initial connection

I would like to so the same thing like in SSH where you can save the server in the config file. I would also like to save my username and password, so that it is not prompted each time I connect. I ...
2
votes
1answer
315 views

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 ...
3
votes
0answers
257 views

can I cd or use hot directory in shell link in mc?

can I use hot directory or cd inside shell link in mc? I access about 40 linux boxes via shell link that have the same dir /var/lib/edumate/backup how can I access this directory without ...
4
votes
1answer
2k views

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?
1
vote
2answers
1k views

rxvt-unicode + mc - strange characters in root shell only

Using rxvt-unicode-9.11 and mc-4.7.5.2, and using zsh-4.3.11 as my login shell, I find that I get strange characters, eg â instead of lines being drawn. Interestingly however, launching urxvt from ...
5
votes
1answer
3k views

how to scp in mc (and remember)?

I found that I can do scp in mc via cd /#sh:radek@firebird from the command line. Is there any way I can save this as a favorite? Maybe even with the password?
38
votes
2answers
10k views

How to open the same directory in another panel in Midnight Commander?

In Midnight Commander, how to quickly set the right panel to the same directory as the left panel (and vice versa)?