From mboxrd@z Thu Jan 1 00:00:00 1970 From: o.rojon@posteo.net Subject: bug#37897: Bug: Resetting locale settings Date: Sat, 26 Oct 2019 23:26:22 +0200 Message-ID: <6582f267453f9e9c29d57b9a0f18cd76@posteo.net> References: <86c252b08059f9b678e0389bacc3a065@posteo.net> <87v9scmu60.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60676) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOTaR-0001D1-HN for bug-guix@gnu.org; Sat, 26 Oct 2019 17:27:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iOTaQ-0005eG-9S for bug-guix@gnu.org; Sat, 26 Oct 2019 17:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60941) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iOTaQ-0005eC-5W for bug-guix@gnu.org; Sat, 26 Oct 2019 17:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iOTaP-0001lP-VI for bug-guix@gnu.org; Sat, 26 Oct 2019 17:27:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87v9scmu60.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 37897@debbugs.gnu.org Hello Ludo, maybe I have been a bit unprecise in my wording, Im rather new to that=20 level of configurability. So I was talking about the keyboard layout all along. Not only was my=20 locale set to "de_DE.utf8", but my keyboard configuration is set to=20 "de-latin1-nodeadkeys". Interestingly, the keyboard layout is different=20 in xorg and xfce than it is in the console (the one I reach via C-M-Fx,=20 not the terminal emulator). In the console, I have the qwertz keyboard=20 layout. Also find the part of my current configuration file (sitting at=20 /etc/config.scm) which specifies both locale and keyboard layout: (operating-system (locale "de_DE.utf8") (timezone "Europe/Berlin") (keyboard-layout (keyboard-layout "de" "latin1-nodeadkeys")) (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sdb") (keyboard-layout keyboard-layout))) I was surprised by the behaviour described in my bug report because I=20 saw that the value for "keyboard-layout", which is set very early in the=20 operating-system declaration, is simply copied over in later parts of=20 the configuration file. If you need anything else, please specify. Again, Im rather new to these=20 things, so sorry for technical inspecificity. Greetings! On 25.10.2019 22:44, Ludovic Court=C3=A8s wrote: > Hello, >=20 > o.rojon@posteo.net skribis: >=20 >> I believe that a locale-related bug has slipped in somewhere in the >> last two-three weeks. During installation and in my configuration >> file, I have specified de_DE specified as locale, which should >> translate to a german keyboard layout. But since said two-three weeks, >> I startup with what I believe is the US layout (qwerty) - and before >> this occurred, I was once even unable to login because my keyboard >> layout has been changed to something so obscure it didnt even seem to >> know basic characters like the exclamation mark, while there was a >> number of characters that could not be displayed (probably non-utf >> characters I suppose). >=20 > Could you be more specific about the context in which you get an > incorrect layout (console, Xorg, Wayland, GNOME, etc.)? >=20 > Note that locale settings and keyboard layout settings are entirely > separate=E2=80=94choosing the =E2=80=9Cde_DE=E2=80=9D locale gives you pr= ograms that speak > German, but it does not give you a =E2=80=9Cqwertz=E2=80=9D layout. See: >=20 > https://guix.gnu.org/manual/devel/en/html_node/Keyboard-Layout.html > https://guix.gnu.org/manual/devel/en/html_node/Locales.html >=20 > HTH, > Ludo=E2=80=99.