You are not logged in.

#1 2012-07-28 16:13:06

Crone
Member
Registered: 2012-03-21
Posts: 71

[SOLVED]X server locale issues

Ok so I had this common issue with the glibc update (deleted everything but modules in /lib) and I had to manually unzip an older glibc package in my / folder. After that I rebooted my system, updated fully (latest glibc & symlinked /lib to /usr/lib properly). I then started X normaly but I noted this:

http://pastebin.com/xfd3tXB7

So although X boots fine, i have this minor locale issues. I guess it has to do with the fact that I am using greek language. I have installed a greek-Inconsolata font back then and now it is not displaying properly on the urxvt (just some weird chars). I can however switch keyboard layouts just fine and type in both languages (greek/english)

rc.conf

#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# See 'man 5 rc.conf' for more details
#

# LOCALIZATION
# ------------
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Athens"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="yes"
USECOLOR="yes"

# HARDWARE
# --------
MODULES=(fglrx snd-usb-audio)
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"

# NETWORKING
# ----------
HOSTNAME=GliderVillage

interface=wlan0
address=
netmask=
broadcast=
gateway=

NETWORK_PERSIST="no"

# DAEMONS
# -------
#
DAEMONS=(dbus syslog-ng wicd crond xkbevd wireless-regdom mpd)

Edit: Btw there is no locale.conf file in my system Oo

Last edited by Crone (2012-08-24 13:58:25)

Offline

#2 2012-07-28 16:56:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]X server locale issues

Did you regenerated locale after the glibc issues with 'locale-gen'?
What's the output of 'locale' and 'locale -a'?

Last edited by karol (2012-07-28 16:58:20)

Offline

#3 2012-07-28 17:23:51

Crone
Member
Registered: 2012-03-21
Posts: 71

Re: [SOLVED]X server locale issues

Hmm i did not use locale-gen. I used it now .Do I need to reboot after that? Because restarting X doesn't work

locale -a: (before and after locale-gen without reboot)

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX

locale: (same)

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Last edited by Crone (2012-07-28 17:24:08)

Offline

#4 2012-07-28 17:41:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]X server locale issues

You need to first uncomment the locale you want to use, presumable English and Greek: https://wiki.archlinux.org/index.php/Locale than run 'locale-gen' and probably reboot.

Offline

#5 2012-07-28 17:55:50

Crone
Member
Registered: 2012-03-21
Posts: 71

Re: [SOLVED]X server locale issues

Yea I did this back when I installed arch. Maybe it got affected by the whole update thing. Gonna look at it when I get to arch.

Edit: I forgot about this post, but I have solved the issue by going again trough the steps of the wiki. Obviously the whole issue with glibc reseted things. Marked as solved, thanks.

Last edited by Crone (2012-08-24 13:58:03)

Offline

Board footer

Powered by FluxBB