On Tue, Jan 14, 2014 at 05:56:32PM +0100, Yves-Alexis Perez wrote: > Note: I'm replying to both bugs at once because they look quite the > same. I'm not merging them right now because that's not completely sure > either. The .xsessionrc problem is shared by both. I use the language selector. It is not clear whether the other bug report does so. > In the end, I'm pretty confused by those two bug reports. It seems that > people are indeed confused by the lightdm/lightdm-gtk-greeter behavior > wrt. locales, but the reports I get are merely adding confusion, not > helping to reduce it.
Indeed, the two reports seem to contradict each other in some respects. > In order to detect issues in LightDM/lightdm-gtk greeter, it'd help to: > > - not set anything locale related in .xsessionrc (since it'll just > override whatever lightdm set) > - provide the full output of `locales' (and maybe the content of > $LANGUAGE too) Trying to do that; this is my report: /etc/default/locale: # File generated by update-locale LANG=nl_NL.UTF-8 #LANGUAGE="en_GB:en" locale -a: C C.UTF-8 en_US.utf8 nl_NL.utf8 POSIX locale (in the terminal shell, no X; this is the system-wide locale): LANG=nl_NL.UTF-8 LANGUAGE= LC_CTYPE="nl_NL.UTF-8" LC_NUMERIC="nl_NL.UTF-8" LC_TIME="nl_NL.UTF-8" LC_COLLATE="nl_NL.UTF-8" LC_MONETARY="nl_NL.UTF-8" LC_MESSAGES="nl_NL.UTF-8" LC_PAPER="nl_NL.UTF-8" LC_NAME="nl_NL.UTF-8" LC_ADDRESS="nl_NL.UTF-8" LC_TELEPHONE="nl_NL.UTF-8" LC_MEASUREMENT="nl_NL.UTF-8" LC_IDENTIFICATION="nl_NL.UTF-8" LC_ALL= Session selection in lightdm greeter: xfce-session. Upon logout I do not save the session. The locales below were obtained in emacs in XFCE, thus excluding bash startup files, even though these do not contain locale settings. The following tests were done without ~/.xsessionrc. Test 1. Log in without changing the language in the language selector: locale (this is the system-wide locale): LANG=nl_NL.utf8 LANGUAGE= LC_CTYPE="nl_NL.utf8" LC_NUMERIC="nl_NL.utf8" LC_TIME="nl_NL.utf8" LC_COLLATE="nl_NL.utf8" LC_MONETARY="nl_NL.utf8" LC_MESSAGES="nl_NL.utf8" LC_PAPER="nl_NL.utf8" LC_NAME="nl_NL.utf8" LC_ADDRESS="nl_NL.utf8" LC_TELEPHONE="nl_NL.utf8" LC_MEASUREMENT="nl_NL.utf8" LC_IDENTIFICATION="nl_NL.utf8" LC_ALL= ~/.dmrc: [Desktop] Language=nl_NL.utf8 Session=xfce Test 2. Log in with changing the language in the language selector to english - USA: locale: LANG=en_US.utf8 LANGUAGE= LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL= ~/.dmrc [Desktop] Language=en_US.utf8 Session=xfce Test 3. Log in without changing the language in the language selector: locale: LANG=nl_NL.utf8 LANGUAGE= LC_CTYPE="nl_NL.utf8" LC_NUMERIC="nl_NL.utf8" LC_TIME="nl_NL.utf8" LC_COLLATE="nl_NL.utf8" LC_MONETARY="nl_NL.utf8" LC_MESSAGES="nl_NL.utf8" LC_PAPER="nl_NL.utf8" LC_NAME="nl_NL.utf8" LC_ADDRESS="nl_NL.utf8" LC_TELEPHONE="nl_NL.utf8" LC_MEASUREMENT="nl_NL.utf8" LC_IDENTIFICATION="nl_NL.utf8" LC_ALL= ~/.dmrc: [Desktop] Language=nl_NL.utf8 Session=xfce Test 4. Log in with changing the language in the language selector to english - USA (just to select english for the next test): locale: LANG=en_US.utf8 LANGUAGE= LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL= ~/.dmrc: [Desktop] Language=en_US.utf8 Session=xfce Test 5: Restore ~/xsessionrc: # . /etc/profile # . ~/.bash_profile LANG="en_US.UTF-8" export LC_MONETARY="nl_NL.UTF-8" export LC_PAPER="nl_NL.UTF-8" export LC_MEASUREMENT="nl_NL.UTF-8" export LC_TIME="nl_NL.UTF-8" export LC_NAME="nl_NL.UTF-8" export LC_ADDRESS="nl_NL.UTF-8" export LC_TELEPHONE="nl_NL.UTF-8" export LC_IDENTIFICATION="nl_NL.UTF-8" export LANGUAGE=en Log in without changing the language in the language selector: LANG=nl_NL.utf8 LANGUAGE=en LC_CTYPE="nl_NL.utf8" LC_NUMERIC="nl_NL.utf8" LC_TIME=nl_NL.UTF-8 LC_COLLATE="nl_NL.utf8" LC_MONETARY=nl_NL.UTF-8 LC_MESSAGES="nl_NL.utf8" LC_PAPER=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_ADDRESS=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_ALL= ~/.dmrc: [Desktop] Language=nl_NL.utf8 Session=xfce Snippet from ~/.xsession-errors from this session (probably unrelated): Xsession: X session started for simon at di jan 14 20:16:10 CET 2014 (xfce4-session:11083): xfce4-session-WARNING **: Unable to launch "update-notifier" (specified by autostart/update-notifier.desktop): Failed to execute child process "update-notifier" (No such file or directory) >From the process list of this session: 2554 ? SLl 0:00 /usr/sbin/lightdm 10968 tty7 Ss+ 0:17 \_ /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch 11000 ? Sl 0:00 \_ lightdm --session-child 12 71 11020 ? Ss 0:00 \_ /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org