Questions tagged [midnight-commander]

A powerful text-mode full-screen file manager.

27 questions
135
votes
16 answers

How do I deactivate F1 and F10 keybindings in gnome-terminal?

How can I turn off the F1 (help) and F10 (notifications menu) key bindings? First one I need for screen utility and second to exit mc in console. There are no such key bindings in the Keyboard Shortcuts system settings.
40
votes
1 answer

How can I install Midnight Commander on Ubuntu 18.04.1?

I can't install Midnight Commander (mc) on Ubuntu 18.04.1. /etc/apt/sources.list file: deb http://archive.ubuntu.com/ubuntu bionic main deb http://archive.ubuntu.com/ubuntu bionic-security main deb http://archive.ubuntu.com/ubuntu bionic-updates…
Voju
  • 519
6
votes
2 answers

Question marks in Midnight commander

Today I logged into my Ubuntu server and noticed that Midnight Commander looks different: Furthermore, I can't use functional keys (Mac keyboard with Fn key). I tried to reinstall it, but with no luck. Can anybody help to fix this? GNU Midnight…
chimit
  • 201
6
votes
1 answer

Midnight Commander: what does a * in front of file names mean?

Midnight Commander: what does a '*' in front of file names mean?
5
votes
1 answer

midnight commander freezes on remote file copy over fish/ssh protocol

I'm using midnight commander (mc), version 4.8.1 shipped with Ubuntu. when I try to copy a file from remote ssh server over the fish/ssh protocol, mc freezes at 0%, and I had to terminate it. I tried to compile the latest mc 4.8.15 from the source…
5
votes
1 answer

Different settings for Midnight Commander running as root and as regular user

Is it possible to have some settings for Midnight Commander when run as user $ mc and some different settings (e.g. skin) when run as root? $ sudo mc The motivation is that it is immediately recognizable whether I'm using mc as root or as a…
zegkljan
  • 428
  • 7
  • 19
5
votes
2 answers

How to sudo edit in Midnight Commander?

I have the habit of running Midnight Commander as my normal user (so that I cannot cause too costly accidents). Sometimes however I find that editing a configuration file in the system partition becomes desirable. Neither with nano, nor with the…
Levente
  • 4,607
4
votes
1 answer

File manager with two panel synchronized directory browsing

Is there any tool (similar to vifm, mc) which allows two panel synchronized directory browsing? eg. I have two directories opened in both panels: /home/user/website1/ and /home/user/website2/ and when I navigate down to /home/user/website1/public I…
takeshin
  • 2,932
4
votes
2 answers

Is there something similar to "open with" in nautilus for midnight commander?

I want to have choose among software when I press Enter button in Midnight Commander (MC). For example, sometimes I open txt files with gedit or GVim. HTML files I can open with firefox or with GVim.
Ilya Bystrov
  • 344
  • 1
  • 9
3
votes
1 answer

More visible space in mc (Midnight Commander) for command lines

I want more space as shown here: Default mc with active panels has only one line where the user can type commands, I want to see more console output without pressing ctrl + o pressing. How can I get it?
3
votes
1 answer

Show other command line prompt in Midnight Commander (mc)

Is it possible to have different command line prompt in pure bash and mc? So, sometime i have mc started, but but panels switched off (Ctrl+O), and when i return back to the terminal after some period of time I forget is mc started or not, and some…
radistao
  • 197
3
votes
0 answers

Midnight commander surrounds copy pasted text with "0~" and "1~" (14.04)

This is not reproduced stadily. Sometimes when I'm switching to "subshell mode" with ctrl+o combination and pasting some buffered text either with shift+insert or by "paste" context menu item selection. But it is not reproduced in "panel"…
Carter
  • 322
3
votes
1 answer

How can I run Midnight Commander opening an ftp connection on launch?

As the question itself says: I would like to know if there is a way to create a script or direct command line to run midnight commander mc and request the program to open an ftp connection on -let's say- the right panel? Something like: mc…
2
votes
2 answers

What text do I have to put in mc's File Find text field "Content:"?

Midnight Commander 3.4.8.1 > File Find. What text do I have to put in the »Content:« text field and in the other fields? I tried several settings in the other fields but mc always returned no result. (This is not explained in 'man mc'.) My hope is…
user43816
  • 263
  • 1
  • 4
  • 17
2
votes
0 answers

Connecting to remote machine through ssh+mc without using password

while using midnight commander (mc) on my pc, I usually ssh to a remote server in another continent. I'm not an admin on the server. I already have generated private and public keys in order to connect quickly from the terminal. When I'm using mc…
SO_32
  • 181
1
2