You are not logged in.
Pages: 1
Hi. I've got the following:
[zw0rk@myhost ~]$ locale -a
C
POSIX
en_US.utf8
ru_RU.utf8
In /etc/rc.conf:
LOCALE="ru_RU.UTF-8"
DAEMON_LOCALE="no"
KEYMAP="ru"
CONSOLEFONT="cyr-sun16"
CONSOLEMAP=
But:
[zw0rk@myhost ~]$ 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=
And, if i switch my locale with "export LANG="ru_RU.UTF-8"", all cyrillc symbols are translated to squares (in sakura) or hieroglyphs (in urxvt).
I have teminus, xorg-fonts-cyrillic installed.
How do i:
1) Fix the default locale
2) Force GUI consoles to use correct fonts?
Last edited by zw0rk (2011-11-17 21:54:51)
Offline
Am i asking something stupid? I've made everything using WIKI and on my prev. Arch installation this config worked well :-/
Last edited by zw0rk (2011-11-16 08:01:34)
Offline
hi,
do you have the file 'locale.sh' in /etc/profile.d deleted befor updating ? or is the file missing ?
to make sure:
rm /etc/profile.d/locale.sh
pacman -Syu
pacman -S initscripts (to force installation of locale.sh)
reboot
did you read the "/etc/locale.gen" section in the beginners guide ?
whoami
Last edited by whoami (2011-11-16 19:26:33)
Offline
I've read locale.gen section and I've reproduced these steps. Locale is set properly now, but the fonts are still missing.
I'm in Xfce4 if it matters.
Offline
2) Force GUI consoles to use correct fonts?
So in xfce you probably use "terminal" (aka "xfce-terminal"). Font configuration there is easy with setting your preferences in "appearance" via the menu bar or right-click.
we are Arch.
you will be assimilated!
resistance is futile!
Offline
No. I'm using urxvt (with terminus configured in .Xdefaults) and sakura (where i've set terminus via right-click menu). I'm not THAT stupid
Offline
lol, welcome!
Hieroglyphs indicate a font is displayed in a wrong encoding, and boxes that a font does not contain certain character(s), however. It is something specific on declaring types of fonts in a config file; truetype-fonts are different than e.g. bitmap fonts. The first need a preceeding "xft:", and also all the other properties like font name and typeface need a different format than the latter, as seen here and there. (I don't use urxvt or sakura btw.)
Regarding your locale: do xfce and the other programs (with installed language pack/enabled localisation) already show their menus and all in Russian?
we are Arch.
you will be assimilated!
resistance is futile!
Offline
Do you use LightDM? I had the same issue with LightDM. An upstream bug has already been reported.
Proud Arch Linux user since 2007.
Offline
twilight0: if you mean me, no, I don't use LightDM.
we are Arch.
you will be assimilated!
resistance is futile!
Offline
Yes, the problem was with LightDM. Switching to SLIM solves it.
Last edited by zw0rk (2011-11-17 21:54:37)
Offline
twilight0: if you mean me, no, I don't use LightDM.
Oups sorry for not making clear, I only asked the author of this topic.
Proud Arch Linux user since 2007.
Offline
nexus7 wrote:twilight0: if you mean me, no, I don't use LightDM.
Oups sorry for not making clear, I only asked the author of this topic.
nvm, you helped to solve the problem though.
we are Arch.
you will be assimilated!
resistance is futile!
Offline
Pages: 1