Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#26792 - Global locale is not set by rc.conf properly

Attached to Project: Arch Linux
Opened by Tasos (twilight) - Tuesday, 08 November 2011, 03:29 GMT
Last edited by Tom Gundersen (tomegun) - Sunday, 13 November 2011, 12:51 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I 've made a clean Arch install a couple of days ago. I have installed lightdm (unsupported don't know if that matters) and xfce4. To my surpise when I checked the locale settings I was getting this output:

LANG=POSIX
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=POSIX

And I couldnt type in greek in some programs (ex. opera browser) with dead keys (through setxkbmap)

Additional info:

rc.conf

http://pastebin.com/VLMvYyAx

Eventually I edited /etc/environment file as follows:


$ cat /etc/environment
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
LANG=en_US.UTF-8
LC_ALL="en_US.UTF-8"

Locale now:

$ locale

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=en_US.UTF-8
This task depends upon

Closed by  Tom Gundersen (tomegun)
Sunday, 13 November 2011, 12:51 GMT
Reason for closing:  Upstream
Additional comments about closing:  The bug is in lightdm
Comment by Jelle van der Waa (jelly) - Tuesday, 08 November 2011, 10:29 GMT
Try it without LightDM , so we can figure out if it's his fault.
Also look at https://bugs.launchpad.net/lightdm/+bug/797249
Comment by Tasos (twilight) - Saturday, 12 November 2011, 06:37 GMT
Ok, I 'll try another display manager, because I don't like not using a login/display manager.
Comment by Tasos (twilight) - Saturday, 12 November 2011, 08:26 GMT
Yes, I can confirm that this was indeed a lightdm bug. Now I am not using any display manager, logged in with .xinitrc, removed the lines from /etc/environment and locale is as follows:

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=en_US.UTF-8

Loading...