Good day.

Maybe someone has already encountered, when I launch the SSH Session and open the Midnight Commander in the terminal, I get a gray background with no text on it: enter image description here Can you please tell me that in the settings PHPStorm 7 can I tweak to change the color of this background?

Closed due to the fact that off-topic by the participants andreycha , fori1ton , Athari , Yura Ivanov , VenZell Apr 3 '15 at 17:42 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "Most likely, this question does not correspond to the subject of Stack Overflow in Russian, according to the rules described in the certificate ." - andreycha, fori1ton, Athari, Yura Ivanov, VenZell
If the question can be reformulated according to the rules set out in the certificate , edit it .

    1 answer 1

    To change the standard color scheme of Midnight Commander, open the file:

    ~/.config/mc/ini 

    or if 1 item did not work

     ~/.mc/ini 

    Create a section there with something like this.

     [Colors] base_color=lightgray,blue:normal=blue,default:selected=white,brightblue:marked=yellow,default:markselect=yellow,gray:directory=brightblue,default:executable=brightgreen,default:link=cyan,default:device=brightmagenta,default:special=lightgray,default:errors=red,default:reverse=green,default:gauge=green,default:input=white,gray:dnormal=green,gray:dfocus=brightgreen,gray:dhotnormal=cyan,gray:dhotfocus=brightcyan,gray:menu=green,default:menuhot=cyan,default:menusel=green,gray:menuhotsel=cyan,default:helpnormal=cyan,default:editnormal=green,default:editbold=blue,default:editmarked=gray,blue:stalelink=red,default 

    And yes, here you have some strange terminal emulator from IDE. Take something normal like Konsole, rxvt, Yakuake.

    The code above creates a new color scheme directly in the configuration file. However, there are some more ready-made schemes. To list and edit them:

     ls /usr/local/share/mc/skins 

    To install, add an option to the [Midnight Commander] main section:

     skin=%название темы без расширения ini% 

    Or run mc with key S

     mc -S skinname 
    • Thanks for the answer. Are the terminal emulators listed by you: Konsole, rxvt, Yakuake - can they somehow be picked up in PHPStorm 7? - AlexSAP
    • And what's the point in stuffing the terminal emulator inside the IDE? My brain is unable to understand this, since this is clearly contrary to the fact that each program in * nix environment is extremely narrowly specialized. - igumnov
    • Just like it’s convenient to do something in the console without leaving the IDE. And another question about the colors, I set up all the colors in mc through ~ / .mc / ini, but when I open the F4 file in it for viewing or editing, I have the background blue . I don’t tell me , How to fix it? - AlexSAP
    • There should be one giant string in the colors section, no line breaks need to be inserted. Or put some more topic. And yes, do not go into ssh under the root, it is dangerous. Use keys or prohibit authorization for all subnets except yours in sshd_config, and also prohibit root authorization, otherwise meaningless and merciless Chinese brute force will sooner or later take away your host. - igumnov
    • The screen that showed is not ~ / .mc / ini, this is another file opened in Midnight Commander through F4 and there is a problem with the background. Those. What do I need to add in ~ / .mc / ini so that the background in the editor becomes transparent (black)? - AlexSAP pm