[Pkg-xfce-devel] Bug#679386: Bug#679386: Dirty Workaround

Yves-Alexis Perez corsac at debian.org
Sat Oct 20 12:47:18 UTC 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20121020/068294de/attachment.pgp>


More information about the Pkg-xfce-devel mailing list