On Sun, Jul 19, 2015 at 02:09:29PM +0200, Josip Rodin wrote: > Hi, > > I think I hit this bug too: I don't have anything (uncommented) in > /etc/default/locale, but after installing lightdm I ended up with a ~/.dmrc > that says: > > [Desktop] > Language=de_DE.utf8 > Session=lightdm-xsession > > Oddly enough, I didn't actually notice this because lightdm was in English. > > Once I logged in, I clicked on XFCE's menus and found them to be in German, > which I never actually wanted. > > The cause seems to be: > > % grep '^[^#]' /etc/locale.gen > de_DE ISO-8859-1 > de_DE.UTF-8 UTF-8 > de_DE@euro ISO-8859-15 > en_US ISO-8859-1 > en_US.UTF-8 UTF-8 > fr_FR ISO-8859-1 > fr_FR.UTF-8 UTF-8 > hr_HR ISO-8859-2 > hr_HR.UTF-8 UTF-8 > nb_NO ISO-8859-1 > nb_NO.UTF-8 UTF-8 > > I don't think the order of this file - which seems to be alphabetically > sorted by default - should override the standard implicit default of POSIX, > that is, English. > > In fact if the program itself is running with POSIX, and there's no other > indicator, it should make the user default POSIX as well. > > This kind of guesswork doesn't seem to be a safe choice at all.
Oh, but it gets worse. I edited the file to replace de_DE with en_US, and retried login, but it was still in German. So I edited the file to put in hr_HR.UTF-8, and did a sudo service lighdm restart for good measure, and now after login XFCE menus are in Croatian. Well, at least some progress. Yet I then opened the file again and now I see: % cat .dmrc [Desktop] Language=de_DE.utf8 Session=lightdm-xsession So, um, what the hell? What program is rewriting the config file in my user home directory? -- 2. That which causes joy or happiness. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org