Re: Specifiying a skin in ini

2010-10-18 Thread Paul Marwick
Sorry, looks as though my last reply has gone missing somewhere Yury V. Zaytsev wrote: On Fri, 2010-10-08 at 11:38 +0100, Paul Marwick wrote: Strange. I've got this: [Midnight-Commander] skin=~/.mc/skins/nicedark skin=/home/zyv/.mc/whatever/nicedark.ini works perfectly for me.

Re: Specifiying a skin in ini

2010-10-10 Thread Paul Marwick
Michael Dukelsky wrote: 08.10.2010 14:17, Andrew Borodin wrote: I've tried to setup a skin in ~/.mc/ini using several ways: 1) skin=gotar 2) skin=gotar.ini 3) skin=/usr/share/mc/skins/gotar.ini Everything works fine for me. It is important to edit ~/.mc/ini not in the internal mc editor. I

Re: Specifiying a skin in ini

2010-10-10 Thread Yury V. Zaytsev
On Sun, 2010-10-10 at 21:47 +0100, Paul Marwick wrote: And I'm still getting the default ini. The skin is in the correct place, and I can't see anything that could affect it, but it doesn't work for me. Did you care to read my reply? -- Sincerely yours, Yury V. Zaytsev

Re: Specifiying a skin in ini

2010-10-10 Thread Paul Marwick
Yury V. Zaytsev wrote: On Fri, 2010-10-08 at 11:38 +0100, Paul Marwick wrote: Strange. I've got this: [Midnight-Commander] skin=~/.mc/skins/nicedark skin=/home/zyv/.mc/whatever/nicedark.ini works perfectly for me. I've now got this: skin=/home/tigger/.mc/skins/nicedark.ini

Re: Specifiying a skin in ini

2010-10-09 Thread Andrew Borodin
On Fri, 08 Oct 2010 17:26:38 +0400 Michael Dukelsky wrote: It is important to edit ~/.mc/ini not in the internal mc editor. I tried it with mcedit and it did not work: after mc is started, the skin returns to the default. Because you use autosave setup. When mc finishes, it saves its current

Re: Specifiying a skin in ini

2010-10-08 Thread Andrew Borodin
On Thu, 07 Oct 2010 17:04:08 +0100 Paul Marwick wrote: Is the directive position sensitive in the ini? Yes. The skin= key must be located in main [Midnight-Commander] section. I've tried to setup a skin in ~/.mc/ini using several ways: 1) skin=gotar 2) skin=gotar.ini 3)

Re: Specifiying a skin in ini

2010-10-08 Thread Paul Marwick
Andrew Borodin wrote: On Thu, 07 Oct 2010 17:04:08 +0100 Paul Marwick wrote: Is the directive position sensitive in the ini? Yes. The skin= key must be located in main [Midnight-Commander] section. I've tried to setup a skin in ~/.mc/ini using several ways: 1) skin=gotar 2)

Re: Specifiying a skin in ini

2010-10-08 Thread Yury V. Zaytsev
On Fri, 2010-10-08 at 11:38 +0100, Paul Marwick wrote: Strange. I've got this: [Midnight-Commander] skin=~/.mc/skins/nicedark skin=/home/zyv/.mc/whatever/nicedark.ini works perfectly for me. Why do you think that ~ gonna get expanded??? Did you pay attention to the paths in the example

Re: Specifiying a skin in ini

2010-10-08 Thread Michael Dukelsky
08.10.2010 14:17, Andrew Borodin wrote: I've tried to setup a skin in ~/.mc/ini using several ways: 1) skin=gotar 2) skin=gotar.ini 3) skin=/usr/share/mc/skins/gotar.ini Everything works fine for me. It is important to edit ~/.mc/ini not in the internal mc editor. I tried it with mcedit and

Re: Specifiying a skin in ini

2010-10-07 Thread Paul Marwick
Yury V. Zaytsev wrote: On Tue, 2010-10-05 at 15:50 +0200, Paul Marwick wrote: I recently started experimenting with using skins. One thing I wanted to do was use a different skin when running MC as root. So how are you starting mc as root? What about the env vars? I've run it

Re: Specifiying a skin in ini

2010-10-07 Thread Paul Marwick
Andrew Borodin wrote: On Tue, 05 Oct 2010 15:50:06 +0200 Paul Marwick wrote: skin=/usr/share/mc/gotar.ini Try skin=/usr/share/mc/skins/gotar.ini. Sorry, that is what I tried - typo in my original message. I've also tried creating a skins directory in ~/.mc. Doesn't work for

Specifiying a skin in ini

2010-10-05 Thread Paul Marwick
I recently started experimenting with using skins. One thing I wanted to do was use a different skin when running MC as root. I modified /root/.mc/ini to include this: skin=/usr/share/mc/gotar.ini I've tried several variants of this, but none of them work - the default skin is still used.