Questions tagged [mc]

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.

31 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
596 views

Midnight Commander Undelete not working

How exactly do I use the 'undelete files' option on mc? Couldn't find anything helful or working for me on the internet, so I'm asking here. Let's say I got a loop0 device and write in the box "loop0"....
Doe's user avatar
  • 43
3 votes
0 answers
6k views

In midnight commander, how is a windows domain specified when making an smb connection?

Midnight commander allows making network connections to SMB services (if compiled with support for the SMB file system). The help contents for detailing how to make an SMB connection are these SMB ...
TomWitt2's user avatar
  • 131
3 votes
0 answers
711 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 ...
Radek's user avatar
  • 2,993
2 votes
0 answers
836 views

Opening character device for reading in parallel by multiple processes on Linux

I would like to open a character device e.g. /dev/tty1 by multiple processes in a way that would not interfere reads between them. I noticed that if one process consumes a byte, no other process would ...
Anonymous's user avatar
  • 195
2 votes
0 answers
745 views

Midnight Commander Editor (mcdedit) - Is there a way turning off Fullscreen at startup?

Midnight Commander has a very good text editor called mcedit. It's got a GUI style Menu bar which is hidden by default (mc refers to this as Fullscreen). If you go and click the star in the top right ...
thebunnyrules's user avatar
1 vote
0 answers
384 views

How to select files in Midnight Commander using an external command (e.g., `find`)?

I'm trying to select files that are older than a specific date & time, and found this MC ticket that exactly describes my issue, and this comment on it provides a workaround, but I cannot get it ...
toraritte's user avatar
  • 1,080
1 vote
0 answers
104 views

Midnight commander: How to define condition in mc.menu

I'm trying to add new command, and the menu option should be displayed when the single file is selected, (it's executable and not a directory) or (not a link and the name ends with .so) or (not a ...
Fantastic Mr. Fox's user avatar
1 vote
0 answers
285 views

Midnight Commander is calling Seamonkey, but why?

Midnight commander, on pressing Enter on a .html file, calls Seamonkey. I can't find out why. Of course, I checked the usual suspects: The extension files from MC's settings (both the user- and the ...
jcoppens's user avatar
  • 613
1 vote
0 answers
289 views

Midnight Commander starts bash shell with wrong option? 'bash -rcfile .bashrc'. Single -

I noticed that when mc is started, a process appears with command line like this bash -rcfile .bashrc Note single dash. Bash does have the rcfile option but that supposed to be specified with double ...
Tagwint's user avatar
  • 2,480
1 vote
0 answers
701 views

Midnight Commander on server slow startup due to attempting to access my local IP

My case is similar to some of the proposed solution in this question where on startup mc attempt to resolve & connect to hostname. Except, instead of accessing the hostname, the mc running on ...
Martheen's user avatar
  • 111
1 vote
1 answer
1k views

How do I disable mouse support in mcedit when it is called via F4 from within mc?

I have a problem with Midnight Commander that I am finding exceptionally annoying. I hope that you can provide some relief to me. I want to use Midnight Commander without mouse support, with mouse ...
THESorcerer's user avatar
1 vote
0 answers
95 views

Midnight Commander closes immediately after start in Linux Mint 18.3 Sylvia (KDE) via desktop menu

Midnight Commander closes immediately after start in Linux Mint 18.3 Sylvia (KDE) via desktop menu, it closes without errors, but works fine if running from terminal. A few days ago it worked well. ...
Cyrill Tekord's user avatar
1 vote
0 answers
45 views

Using console while editing a file in mc no longer possible?

I used to open a file for editing in mc (using mcedit to be more exact) and then switch to console to do some stuff, then again return to file editing and so on. Some time ago (after updating mc I ...
PF4Public's user avatar
  • 135
1 vote
0 answers
1k views

midnight commander go to root directory shortcut

I would like to set "/" key as shortcut for going to root directory in midnight commander. I have tried to find relevant option in /etc/mc/md.default.keymap file but I couldn't. Is there relevant ...
Trismegistos's user avatar
1 vote
1 answer
1k views

Start MC in terminal mode

Is there a command line switch or configuration option so that MC starts in terminal mode (same as if I would press ctrl-o after running mc).
Trismegistos's user avatar
1 vote
0 answers
381 views

Use a bash array as a place-in argument list (with Midnight Commander)

I'm having a little bit of trouble figuring out how I can use a bash array for an argument list. so far, the below code does not work. The %s below is Midnight Commander specific. F=(%s); for i in "$...
mrrhq's user avatar
  • 83
1 vote
1 answer
414 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 ...
hellcode's user avatar
  • 742
0 votes
0 answers
70 views

Midnight Commander show disk usage

I am trying to use midnight commander (mc) to show disk usage of particular directories. I'm aware that I can use the command menu, but I need see individual directory sizes on the fly. I am using ctl ...
Pierre Raynerd's user avatar
0 votes
0 answers
96 views

Midnight commander (mc) copy/move option doesn't work

I cannot copy/move file on remote server. GNU Midnight Commander 4.8.7 installed on remote Centos server Steps: connect to remote server via xterm ssh run mc cmd set correct directories on both tabs ...
user2021570's user avatar
0 votes
0 answers
179 views

Not completely switching language in Midnight Commander

spent a lot of time on this. All menu bars and control panel at the bottom are not translated. What I did: set the locale globally to the desired language, even tried LC_ALL reinstalled mc and mc-...
Olimpic Boy's user avatar
0 votes
0 answers
136 views

Midnight Commander's viewer can't search in some files

I'm often using "F3 View" in Midnight Commander, and I just found out that using search feature "F7 Search" doesn't always work correctly. What I found out is that when file has ...
dexter86's user avatar
0 votes
0 answers
316 views

In midnight commander, how to select a large continuous range of files

Is there some thing similar to the shift mouse left click in GUI file explorers? Basically something to mark the start and end of the selection, and selects anything in between? My scenario is, I ...
KFL's user avatar
  • 269
0 votes
0 answers
189 views

midnight commander: sort directories by name and files by date?

Is it possible to sort directories by name, and files by date, at the same time? It is easy to obtain this behavior in Total Commander, which I find very nice. Thanks.
vaschw's user avatar
  • 1
0 votes
0 answers
40 views

While moving files, how to continue without halting if an error happens?

Imagine you have 1000 files. You move/copy to a different folder. You start the process, all going well, you leave the computer. At file number 10 an error dialog states if you want to overwrite, ...
Roland Soós's user avatar
0 votes
1 answer
2k views

Perform sudo commands via midnight commander and sftp

I use midnight commander to sftp into my ubuntu VPS. The VPS requires sudo for anything important, e.g. copy/move/delete files. So for e.g. I cannot press F5 to copy (except into ~). Is it possible ...
lonix's user avatar
  • 1,733
0 votes
0 answers
2k views

how to select files and folders on both Midnight Commander panels with the same name?

So we have Midnight Commander and 2 different folders - first on the left panel(folder1) and second on the right panel (folder2) panel. There's a need to select ("highlight", like by pressing Ins key)...
Sergej Matsypa's user avatar
0 votes
0 answers
280 views

Use midnight commander as default file manager

I'm running fedora workstation 32 with i3. I'm trying to get it to use midnight commander as the default file manager. I followed the top answer on this thread How to set Midnight Commander as the ...
Benjamin Beasley's user avatar
0 votes
1 answer
690 views

How to close hanged pane in Terminator?

Sometimes I get Terminator panes hanged, probably due to network or remote host failure. How to close such a pane without affecting other panes? If Midnight commander was ran, then right click menu ...
Dims's user avatar
  • 3,255
0 votes
1 answer
94 views

Running chromium in mc

I cannot run chromium (71.0.3578.98 Built on Ubuntu, running on Ubuntu 18.04) in mc (GNU Midnight Commander 4.8.19). Specifically, in mc: $ chromium-browser [1:1:0117/041208.995908:FATAL:proc_util.cc(...
jaam's user avatar
  • 246
-1 votes
1 answer
53 views

Midnight Commander: working with slow devices/resources

Midnight Commander (mc) may appear "hanging" too often and for quite a long time when a folder with a lot of files located on a slow device/resource like MTP device or SFTP is shown in one ...
Maxim V.'s user avatar
-1 votes
1 answer
2k views

Midnight Commander - Is there a way of customize it's keyboard shortcuts?

Is there a text file that Midnight Commander reads for its hotkeys/shortcuts or are they hard-coded into the app?
thebunnyrules's user avatar