Also affected today : just upgraded to lightdm 1.2.3 as it's in the update channel and locale settings (french language selected) are not applied anymore. Note that we are using PBIS (likewise-open) to login to a domain account.
The script #8 was not working for me and I changed it for :
#!/bin/bash
if pidof lightdm
then
if pidof accounts-daemon
then
LANGFILE="/var/lib/AccountsService/users/$USER"
else
LANGFILE="$HOME/.dmrc"
fi
TEMPLANG=$(cat "$LANGFILE" | grep ^FormatsLocale= | cut -d '=' -f 2 | sed 's/utf8/UTF8/')
[ ! -z "$TEMPLANG" ] && export LANG=$TEMPLANG
TEMPLANGUAGE="$(echo $LANG | cut -d '@' -f 1 | cut -d '.' -f 1 | cut -d '_' -f 1):en"
[ ! -z "$TEMPLANGUAGE" ] && export LANGUAGE=$TEMPLANGUAGE
fi
Also affected today : just upgraded to lightdm 1.2.3 as it's in the update channel and locale settings (french language selected) are not applied anymore. Note that we are using PBIS (likewise-open) to login to a domain account.
The script #8 was not working for me and I changed it for :
#!/bin/bash "/var/lib/ AccountsService /users/ $USER" "$HOME/ .dmrc" "$(echo $LANG | cut -d '@' -f 1 | cut -d '.' -f 1 | cut -d '_' -f 1):en" $TEMPLANGUAGE
if pidof lightdm
then
if pidof accounts-daemon
then
LANGFILE=
else
LANGFILE=
fi
TEMPLANG=$(cat "$LANGFILE" | grep ^FormatsLocale= | cut -d '=' -f 2 | sed 's/utf8/UTF8/')
[ ! -z "$TEMPLANG" ] && export LANG=$TEMPLANG
TEMPLANGUAGE=
[ ! -z "$TEMPLANGUAGE" ] && export LANGUAGE=
fi