Tested accountsservice and here is a workaround for it also:

-----------------
#!/bin/bash

# use .dmrc or accountsservice data (if accounts-daemon is running)

if pidof accounts-daemon &> /dev/null
then
   TEMPLANG=$(cat "/var/lib/AccountsService/users/$USER" | grep ^Language= | 
cut -d '=' -f 2 | sed 's/utf8/UTF8/')
   [ ! -z "$TEMPLANG" ] && export LANG=$TEMPLANG
else
   TEMPLANG=$(cat "$HOME/.dmrc" | grep ^Language= | cut -d '=' -f 2 | sed 
's/utf8/UTF8/')
   [ ! -z "$TEMPLANG" ] && export LANG=$TEMPLANG
fi
-----------------

What is the correct $LANGUAGE syntax when locale has a modifier?
In my case, when $LANG is "ru_RU.UTF-8@ISO", your $LANGUAGE generator line 
produces "ru_RU@ISO:ru@ISO". Is that correct, or it should be only "ru_RU:ru"?

_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel

Reply via email to