On mer., 2012-10-17 at 14:24 +0400, Vladimir K wrote:
> As a dirty workaround, I've created a script: 
> /etc/X11/Xsession.d/39-lightdm-dmrc-fix (runs just before xsessionrc parsing)
> 
> -------
> #!/bin/bash
> TEMPLANG=$(cat "$HOME/.dmrc" | grep ^Language= | cut -d '=' -f 2 | sed 
> 's/utf8/UTF8/')
> [ ! -z "$TEMPLANG" ] && export LANG=$TEMPLANG
> -------
> 

Note that you don't really need to put anything there. You can just put
this in .xsessionrc. For example, mine is:

cat .xsessionrc
export LANG=fr_FR.UTF-8
export LC_MESSAGES=en_US.UTF-8

Regards,
-- 
Yves-Alexis

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to