From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#39606: Keyboard layout defined by 'set-xorg-configuration' is not honored by GDM. Date: Fri, 14 Feb 2020 14:23:47 -0500 Message-ID: <87blq1j7lo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45648) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2gZH-0006X3-Lc for bug-guix@gnu.org; Fri, 14 Feb 2020 14:24:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2gZG-0008H1-DH for bug-guix@gnu.org; Fri, 14 Feb 2020 14:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56979) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2gZG-0008GY-9o for bug-guix@gnu.org; Fri, 14 Feb 2020 14:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2gZG-0000Am-6D for bug-guix@gnu.org; Fri, 14 Feb 2020 14:24:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:45599) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2gZ5-0006SE-7L for bug-guix@gnu.org; Fri, 14 Feb 2020 14:23:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2gZ4-0007h3-2V for bug-guix@gnu.org; Fri, 14 Feb 2020 14:23:51 -0500 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:41290) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2gZ3-0007fG-VO for bug-guix@gnu.org; Fri, 14 Feb 2020 14:23:50 -0500 Received: by mail-qt1-x829.google.com with SMTP id l21so7692779qtr.8 for ; Fri, 14 Feb 2020 11:23:49 -0800 (PST) Received: from kwak ([2607:fad8:4:6:afc9:fe0d:91fc:113b]) by smtp.gmail.com with ESMTPSA id b84sm3893660qkg.90.2020.02.14.11.23.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2020 11:23:48 -0800 (PST) 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-mx.org@gnu.org Sender: "bug-Guix" To: 39606@debbugs.gnu.org Hello! I based my operating system configuration on gnu/system/examples/desktop.tmpl in the Guix tree, and was surprised that my dvorak keyboard is in effect everywhere except at the GDM greeter screen (where it is QWERTY). Here's the full config: --8<---------------cut here---------------start------------->8--- (use-modules (gnu) (gnu system nss) (srfi srfi-1)) (use-service-modules admin desktop docker ssh xorg) (use-package-modules android certs ratpoison) (operating-system (host-name "raisin") (timezone "America/Montreal") (locale "en_US.utf8") ;; Choose US English keyboard layout. The "altgr-intl" ;; variant provides dead keys for accented characters. (keyboard-layout (keyboard-layout "dvorak")) ;; Use the UEFI variant of GRUB with the EFI System ;; Partition mounted on /boot/efi. (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi") (keyboard-layout keyboard-layout))) ;; Radeon requires a blob else prevents booting. Blacklisting the ;; radeon driver allows falling back to VESA. (kernel-arguments '("quiet" "modprobe.blacklist=radeon")) ;; Specify a mapped device for the encrypted root partition. ;; The UUID is that returned by 'cryptsetup luksUUID'. (mapped-devices (list (mapped-device (source (uuid "f85c0627-1f6f-48b9-a2c2-6c12594a7bd1")) (target "btrfs-pool-1") (type luks-device-mapping)))) (file-systems (cons* (file-system (device (file-system-label "btrfs-pool-1")) (mount-point "/") (type "btrfs") (options '(("subvol" . "rootfs") ("compress" . "zstd"))) (dependencies mapped-devices)) (file-system (device (file-system-label "btrfs-pool-1")) (mount-point "/home") (type "btrfs") (options '(("subvol" . "homefs") ("compress" . "zstd"))) (dependencies mapped-devices)) (file-system (device (uuid "209E-67AD" 'fat)) (mount-point "/boot/efi") (type "vfat")) %base-file-systems)) (swap-devices '("/swap/swapfile")) (users (cons (user-account (name "mcournoyer") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video" "kvm" "docker" "adbusers"))) %base-user-accounts)) (groups (cons* (user-group (system? #t) (name "adbusers")) %base-groups)) ;; This is where we specify system-wide packages. (packages (cons* ratpoison nss-certs ;for HTTPS access %base-packages)) ;; SSH, Docker (services (cons* (service rottlog-service-type) (service openssh-service-type (openssh-configuration (port-number 22) (permit-root-login #t))) (service docker-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))) (modify-services %desktop-services ;; Enable using adb as a simple user with a multitude of devices. (udev-service-type config => (udev-configuration (inherit config) (rules (cons* android-udev-rules (udev-configuration-rules config)))))))) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) --8<---------------cut here---------------end--------------->8--- Maxim