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
0answers
13 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
16 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
50 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
0answers
23 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 ...
1
vote
1answer
62 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
85 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
84 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 ?
0
votes
1answer
628 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
426 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
2answers
2k 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
432 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
256 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
290 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
986 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
807 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
435 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 ...
1
vote
2answers
4k 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
3k 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
264 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
224 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
2k 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?
29
votes
2answers
8k 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)?