[arch-general] Locale Changed

Sebastian Schwarz seschwar at gmail.com
Wed Dec 25 08:23:04 EST 2013


On 2013-25-12, Tom Yan <tom.ty89 at gmail.com> wrote:
> On 25 December 2013 08:42, Silvio Siefke <siefke_listen at web.de> wrote:
>> siefke ~ $ cat /etc/locale.conf
>> export LC_DATE=de_DE.utf8
>> export LC_NUMERIC=de_DE.utf8
>> export LC_TIME=de_DE.utf8
>> export LANG=de_DE.utf8

Setting the LC_* variables to the same value as LANG is
unneccesary, as LANG will be used if they are unset anyway.  See
locale(7).

> You don't need the "export"s in /etc/locale.conf.  It's for
> shell (script) only.

The export statements are what probably break the locale
assignment.  Because according to locale.conf(5) "beyond mere
variable assignments, no shell features are supported".  And
locale.conf is read by systemd, not your shell.

Silvio, what is the output of the "locale" command inside your
XFCE session?

Also make sure the line "de_DE.UTF-8 UTF-8" is uncommented in
/etc/locale.gen and run locale-gen afterwards.

Regards,
Sebastian


More information about the arch-general mailing list