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
11 views

How do I quickly move files in Midnight Commander?

When I move a single file using F6 from one pane to another, a window always get opened. How can I do it with just a single keyboard shortcut, without MC showing a dialog?
1
vote
2answers
50 views

Midnight Commander - editor in hex mode

I can't find a way to toggle mc internal editor in hex mode. Here it says to use F4 however it suggest to replace. How to do it?
1
vote
2answers
21 views

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 ...
-2
votes
1answer
21 views

The package is not found when I want to install any programs

I would like to download the midnight commander with the following task: sudo apt-get install mc But it doesn't work because the package is not found. My mirror is: ftp.hu.debian.org How can I ...
1
vote
1answer
28 views

MC 4.8.13 uses Ctrl-Backspace for directory hotlist

I just built GNU Midnight Commander 4.8.13 from source and the directory hotlist is now invoked with CtrlBackspace instead of Ctrl\. This is a PITA since it seems to not be passed through via ssh -- ...
2
votes
1answer
112 views

Question marks instead of national letters in console

I have Netgear Stora MS2000 (which uses a modified version of Red Hat) and have strange font issues while connecting by SSH. Note that this occurs both when connecting by PuTTY from Windows and by ...
0
votes
0answers
65 views

wrong MC colors when launched via xterm -e mc

I use ini-customized color theme in Midnight Commander 4.8. [Colors] base_color=linux:normal=cyan,rgb002:input=white,cyan:inputunchanged=black,cyan:dhotnormal=red When I launch xterm and then ...
0
votes
1answer
419 views

Solarized theme in both mc and Terminator

I have configured Terminator to use Solarized color theme. I did the same for MC. However, the problem I have is that I don't get actual Solarized color scheme in MC (as there already is one below ...
0
votes
0answers
46 views

Midnight commander: screen list

There is the ScreenList functionality bound by default to Alt-Prime (`) in the default mc.keymap: ScreenList = alt-prime Pressing the combination displays "Screens" dialog, which says "Panels" in ...
2
votes
2answers
548 views

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: ...
0
votes
1answer
618 views

“Shell connection” item disappeared from Midnight Commander menu

I have performed an upgrade of my distro (openSUSE 13.1 -> 13.2) and now no long see menu item in Midnight Commander that allows me to perform operations with remote files via SSH. Coressponding menu ...
0
votes
1answer
120 views

Midnight Commander moves files enormously long

I have an QNAP TS-210 NAS and it seems, that there's a Debian Linux on board. I've installed Midnight Commander there and have been using it successfully for years. Today I spotted something weird. I ...
0
votes
0answers
81 views

midnight commander disintegrates after opening video/graphics file

When I press enter in mc on a video file, it will open in mplayer and play. This is configured in /etc/mc/mc.ext: regex/\.([mM][pP]4|[mM]4[vV]|[mM][pP][eE]?[gG])$ Include=video Similarly, it ...
0
votes
1answer
180 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 ...
5
votes
2answers
4k 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
54 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
35 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
25 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
80 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
86 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
142 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
118 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
82 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 ...
1
vote
0answers
64 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
177 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
44 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
172 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
292 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
110 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 ?
2
votes
2answers
5k 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
1k 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 ...
3
votes
4answers
5k 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.
5
votes
2answers
1k 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
526 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
611 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 ...
5
votes
2answers
4k 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
2k 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
729 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
8k 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 ...
2
votes
1answer
6k 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
407 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
297 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 ...
6
votes
1answer
3k 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
2k 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
4k 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?
44
votes
2answers
14k 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)?