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 regular user so that I'm aware of the "power" I have.
I tried to change the skin in Options -> Appereance and then saving the setup by Options -> Save setup both when mc and sudo mc but the settings are always just the last ones saved, no matter how the mc was started (both for "viewing" the settings and saving the settings).
sudo -H mc? – steeldriver Jul 28 '15 at 10:09-Hswitch though. You can post it as an answer and I will probably accept it (after some time if nobody comes up with some better magic). – zegkljan Jul 28 '15 at 10:12