From mboxrd@z Thu Jan 1 00:00:00 1970 From: o.rojon@posteo.net Subject: bug#37897: Bug: Resetting locale settings Date: Thu, 14 Nov 2019 13:23:13 +0100 Message-ID: <9f8fe353bb95ececcc7ad3402d6c15d9@posteo.net> References: <86c252b08059f9b678e0389bacc3a065@posteo.net> <87v9scmu60.fsf@gnu.org> <6582f267453f9e9c29d57b9a0f18cd76@posteo.net> <87lfsjopji.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]:45798) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVEAN-0001OV-Vy for bug-guix@gnu.org; Thu, 14 Nov 2019 07:24:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iVEAM-0001Z1-Sn for bug-guix@gnu.org; Thu, 14 Nov 2019 07:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52238) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iVEAM-0001Yv-PZ for bug-guix@gnu.org; Thu, 14 Nov 2019 07:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iVEAM-0003rL-Hi for bug-guix@gnu.org; Thu, 14 Nov 2019 07:24:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lfsjopji.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, hey guys, here you go. I took the liberty to anonymize and to skip the package=20 modules and packages sections. I realised that when I dont specify WHICH KIND of german keyboard layout=20 I have, the problem does not occur. That is, if I use the=20 (keyboard-layout (keyboard-layout "de")), I dont have any problems. Thus I suppose that there might be something wrong with the spelling of=20 the specification (compare both commented-out attempts at=20 specification). Strictly speaking, then, it may not be a bug. But if it=20 is not a bug, I dont know how specify the specification, since in the=20 manual the specification consists of only one word (e.g. "fr" "bepo"),=20 and under /run/current-system/profile/share/keymaps/i386/qwertz/, said=20 keymap is listed as "de-latin1-nodeadkeys". (use-modules (gnu)) (use-service-modules desktop networking ssh xorg) (use-package-modules ...) (operating-system (locale "de_DE.utf8") (timezone "Europe/Berlin") ;; (keyboard-layout (keyboard-layout "de" "latin1-nodeadkeys")) ;; (keyboard-layout (keyboard-layout "de" "latin1 nodeadkeys")) (keyboard-layout (keyboard-layout "de")) (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sdb") (keyboard-layout keyboard-layout))) (swap-devices (list "/dev/sdb3")) (file-systems (cons* (file-system (mount-point "/home") (device (uuid "8ee0b983-53f0-4e18-852f-8cd4424a6c6f" 'btrfs)) (type "btrfs")) (file-system (mount-point "/") (device (uuid "cb425a5f-bd91-45d3-92e1-3b983450ee21" 'ext4)) (type "ext4")) %base-file-systems)) (host-name "guixter") (users (cons* (user-account (name "user") (comment "") (group "users") (home-directory "/home/user") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) (packages (append (list ...) %base-packages)) (services (append (list (service xfce-desktop-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)))) %desktop-services))) Greetings, Olivier On 13.11.2019 14:48, Ludovic Court=C3=A8s wrote: > Hi, >=20 > o.rojon@posteo.net skribis: >=20 >> So I was talking about the keyboard layout all along. Not only was my >> locale set to "de_DE.utf8", but my keyboard configuration is set to >> "de-latin1-nodeadkeys". Interestingly, the keyboard layout is >> different in xorg and xfce than it is in the console (the one I reach >> via C-M-Fx, not the terminal emulator). In the console, I have the >> qwertz keyboard layout. >>=20 >> Also find the part of my current configuration file (sitting at >> /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))) >=20 > Could you post your complete config file? >=20 > The snippet above defines the keyboard layout for the console and for > GRUB, but it does not define the keyboard layout for Xorg/Xfce. For > that you need an extra bit with =E2=80=98set-xorg-configuration=E2=80=99 = as noted at > <>. >=20 > Thanks in advance, > Ludo=E2=80=99.