You are not logged in.

#1 2018-10-20 04:48:43

Kirill Bugaev
Member
Registered: 2018-08-03
Posts: 173

[Solved] mc skin problem

Some skins (e.g. modarcon16) in Midnight Commander look not proper way: "Q" instead of frames on left and right panels. I guess it is ncurses unicode problem, but don't know how to solve it.
GNU Midnight Commander 4.8.21 installed from official repository.

screenshot

Last edited by Kirill Bugaev (2018-10-20 07:22:57)

Offline

#2 2018-10-20 06:45:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,836

Re: [Solved] mc skin problem

Works fine here.
- output of "locale"
- you seem to be using a tmux and a powerline patched font, try w/o either
- lmg: zsh? omz?

Offline

#3 2018-10-20 07:22:11

Kirill Bugaev
Member
Registered: 2018-08-03
Posts: 173

Re: [Solved] mc skin problem

seth, thanks. mc frames look correct in urxvt without tmux in bash and zsh. So it is problem with tmux.
With tmux in urxvt:

echo $LC_ALL
[i]empty[/i]

Without tmux in urxvt:

$ echo $LC_ALL
en_US.UTF-8

I have changed LC_ALL manually with 'export LC_ALL="en_US.UTF-8"' in bash. mc works fine. How can I make this change permanently?

Last edited by Kirill Bugaev (2018-10-20 07:29:21)

Offline

#4 2018-10-20 07:29:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,836

Re: [Solved] mc skin problem

LC_ALL is a global override of the locales, it should rather not be set unconditionally at all (raising the question why it is in your urxvt)
Ensure to actually fix your locale system- or at least session-wide: https://wiki.archlinux.org/index.php/Locale

Offline

#5 2018-10-20 08:09:18

Kirill Bugaev
Member
Registered: 2018-08-03
Posts: 173

Re: [Solved] mc skin problem

System locale didn't set.

/etc/locale.conf
LANG=en_US.UTF-8

Now mc works fine.

Offline

Board footer

Powered by FluxBB