Re: cannot set locale (systemd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am Fri, 31 Aug 2012 12:10:01 -0300
schrieb Tomás Acauan Schertel <tschertel@xxxxxxxxx>:

> Both /etc/locale.conf and /etc/environment have this lines:
> 
> LANG=pt_BR.UTF-8
> LC_MESSAGES=C
> 
> And my system (LXDM + XFCE) keeps en_US.

No, it uses C, because Xfce unfortunately uses LC_MESSAGES, not LANG, to
set its locale.

To get pt_BR.UTF-8 in Xfce you need to remove LC_MESSAGES=C.

If you need the messages in the terminal with the locale C for filing
bug reports e.g., I'd suggest you to always prefix the command with
LC_MESSAGES=C or set an alias for those commands.

This issue has nothing to do with systemd, btw.

Heiko


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux