You are not logged in.

#1 2012-08-12 16:50:32

Doctor Drive
Member
From: Poland
Registered: 2010-08-11
Posts: 167

[Solved] Moving to systemd. Locale problems.

After unsnstallation of initscripts and installation and configuring systemd, cyrillic support for filenames is gone.
Now I get gibberish symbols for cyrillic filenames and I can write in cyrillic ony in X applications except terminal and wine.
After I switch language in KDE and try to write something in urxvt - I get nothing.
In konsole - "?" instead of every symbol.
Note: I used the same parameters for locale.gen and locale.conf with initscripts, so nothing changed.

#/etc/locale.conf
LANG=en_US.UTF-8
LC_MESSAGES=C
LC_COLLATE=C
#/etc/locale.gen
en_US.UTF-8 UTF-8
ru_RU.UTF-8 UTF-8
uk_UA.UTF-8 UTF-8
$ locale -a
C
POSIX
en_US.utf8
ru_RU.utf8
uk_UA.utf8
$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
$ cat /etc/vconsole.conf 
KEYMAP="en,ru,uk"
FONT=cyr-sun16
FONT_MAP=

Last edited by Doctor Drive (2012-08-12 17:50:04)

Offline

#2 2012-08-12 17:12:13

schalox
Member
From: Finland
Registered: 2011-05-10
Posts: 21

Re: [Solved] Moving to systemd. Locale problems.

Could this be the solution?

Offline

#3 2012-08-12 17:49:40

Doctor Drive
Member
From: Poland
Registered: 2010-08-11
Posts: 167

Re: [Solved] Moving to systemd. Locale problems.

schalox wrote:

Could this be the solution?

Thanks! Read that article several times, but didn't notice that NOTE.

Note: /etc/profile.d/locale.sh from systemd-sysvcompat or initscripts is necessary to be able to set users' locale correctly

But why doesn't it have it's own locale.sh file?
Why should one need to pull it from other package?

Last edited by Doctor Drive (2012-08-12 17:49:52)

Offline

#4 2012-08-12 19:02:39

schalox
Member
From: Finland
Registered: 2011-05-10
Posts: 21

Re: [Solved] Moving to systemd. Locale problems.

Glad it worked!

Doctor Drive wrote:

But why doesn't it have it's own locale.sh file?
Why should one need to pull it from other package?

I'd also like to know that.

Offline

#5 2012-08-13 06:48:27

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: [Solved] Moving to systemd. Locale problems.

locale.sh is a hack, so not part of systemd upstream. I'm working on adding proper user-locale support to systemd, but have not submitted it yet. Currently the locale support of systemd only applies to daemons.

Offline

#6 2012-08-14 14:37:42

schalox
Member
From: Finland
Registered: 2011-05-10
Posts: 21

Re: [Solved] Moving to systemd. Locale problems.

Thanks for the info, tomegun.

Offline

Board footer

Powered by FluxBB