Bug#638353: Hardcoding LANG in Xsession script "works" as a temporary work-around
Wouter Bolsterlee
uws at xs4all.nl
Thu Aug 18 22:04:23 UTC 2011
I have hardcoded $LANG in /etc/gdm3/Xsession, and now my environment
shows up in Dutch. The $GDM_LANG env var is set to the value "C". Is
~/.dmrc used at all nowadays, btw?
— Wouter
=== modified file 'gdm3/Xsession'
*** gdm3/Xsession 2011-08-15 23:12:03 +0000
--- gdm3/Xsession 2011-08-18 22:00:43 +0000
***************
*** 154,187 ****
--- 154,188 ----
if [ -n "$GDM_LANG" ]; then
# Set the locale to that, it’s the language selected in GDM.
LANG="$GDM_LANG"
export LANG
if [ -n "$LC_ALL" ] && [ "$LC_ALL" != "$LANG" ]; then
LC_ALL="$LANG"
fi
# if GDM_LANG isn't first in LANGUAGE, then unset it.
if [ -n "$LANGUAGE" ]; then
if echo "$LANGUAGE" | grep -q -- "^$GDM_LANG"; then
:
else
unset LANGUAGE
fi
fi
+ export LANG="nl_NL.UTF-8"
fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20110819/9d0f8bc6/attachment-0001.pgp>
More information about the pkg-gnome-maintainers
mailing list