[Pkg-xfce-devel] Bug#457567: uses default system language instead of $LANG value

Andrzej Zięba a-zieba at go2.pl
Sun Dec 23 14:56:17 UTC 2007


Package: xfce4-session
Version: 4.4.2-1
Severity: normal

My default system language is pl_PL.UTF8, but I use English language for
my user account. I had added few lines to /etc/xdg/xfce4/xinitrc to get
the locales setting from user accounts, and all was fine until some
recent upgrade.
The problem on my system is that xfce4-session is called from xinitrc
with LANG=C set, but all applications that are not lunched from a
terminal get pl_PL.UTF8(the default system wide setting) somehow now.
I have done some homework. I have disabled xfce4-session simply by
renaming it, and when I started the desktop without it, the locale was
set correctly for everything. I am sure that xfce4-session gets the
locale, because I have also created a script with its name and dumped 
the $LANG value to check it. While starting, the xfce4-sessions shows 
English messages also. So I assume that xfce4-session is guilty here and 
does not pass the locale setting to services it is starting.

Best regards,

Andrzej Zięba


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.22-3-k7

Debian Release: lenny/sid
   990 testing         security.debian.org
   990 testing         ftp.task.gda.pl

--- Package information. ---
Depends                             (Version) | Installed
=============================================-+-======================
fortune-mod                                   | 1:1.99.1-3
libatk1.0-0                       (>= 1.20.0) | 1.20.0-1
libc6                              (>= 2.7-1) | 2.7-4
libcairo2                          (>= 1.4.0) | 1.4.10-1+lenny2
libdbus-1-3                        (>= 1.1.1) | 1.1.1-3
libfontconfig1                     (>= 2.4.0) | 2.4.2-1.2
libfreetype6                       (>= 2.3.5) | 2.3.5-1+b1
libglib2.0-0                      (>= 2.14.0) | 2.14.3-1
libgtk2.0-0                       (>= 2.12.0) | 2.12.1-1
libice6                          (>= 1:1.0.0) | 2:1.0.4-1
libpango1.0-0                     (>= 1.18.3) | 1.18.3-1
libpng12-0                      (>= 1.2.13-4) | 1.2.15~beta5-3
libsm6                                        | 2:1.0.3-1+b1
libx11-6                                      | 2:1.0.3-7
libxfce4mcs-client3                (>= 4.4.2) | 4.4.2-1
libxfce4util4                      (>= 4.4.2) | 4.4.2-1
libxfcegui4-4                      (>= 4.4.2) | 4.4.2-1
libxrender1                                   | 1:0.9.4-1
zlib1g                  (>= 1:1.2.3.3.dfsg-1) | 1:1.2.3.3.dfsg-7









More information about the Pkg-xfce-devel mailing list