You are not logged in.
Pages: 1
When I try to run some programs, they warn that the locale is not supported by Xlib. The ones that warn me, can't get correct input from my keyboard, especially characters like é, ã, â, etc.
Here are some outputs:
$ urxvt
urxvt: the locale is not supported by Xlib, continuing without locale support.
$ xterm
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
xterm: Failed to open input method
$ cat /etc/locale.conf
LANG=en_US.utf8
LC_COLLATE=C
$ grep -v '^#' /etc/locale.gen
en_US.UTF-8 UTF-8
$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE=C
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
$ locale -a
C
POSIX
en_US.utf8
Offline
$ cat /etc/locale.conf
LANG=en_US.utf8
LC_COLLATE=C
You forgot the dash. Caps might matter as well. I have:
$ cat /etc/locale.conf
LANG=en_US.UTF-8
You could also try running "locale-gen" as root and here's a wiki article about how to correctly set this all up:
https://wiki.archlinux.org/index.php/Be … ide#Locale
Last edited by weirddan455 (2013-05-17 04:21:38)
Offline
Tried with caps and dash
$ cat /etc/locale.conf
LANG=en_US.UTF-8
LC_COLLATE=C
And of course, locale-gen as root:
# locale-gen
Generating locales...
en_US.UTF-8... done
Generation complete.
Still gives me the exact same warning and I can't type the special characters.
Offline
Offline
Pages: 1