From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 39606-done@debbugs.gnu.org
Subject: bug#39606: Keyboard layout defined by 'set-xorg-configuration' is not honored by GDM.
Date: Thu, 22 Oct 2020 15:54:19 -0400 [thread overview]
Message-ID: <87wnzic9zo.fsf@gmail.com> (raw)
In-Reply-To: <87blq1j7lo.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 14 Feb 2020 14:23:47 -0500")
Hello!
I'm happy to report this was due to mis-configuration on my part. More
specifically, it it was missing the xorg-configuration modification bit,
which is documented. Testing in a VM using the following, modified
configuration cannot reproduce the problem:
--8<---------------cut here---------------start------------->8---
diff --git a/gnu/system/examples/lightweight-desktop.tmpl b/gnu/system/examples/lightweight-desktop.tmpl
index d5a63dc457..42e7891641 100644
--- a/gnu/system/examples/lightweight-desktop.tmpl
+++ b/gnu/system/examples/lightweight-desktop.tmpl
@@ -3,7 +3,7 @@
;; environments.
(use-modules (gnu) (gnu system nss))
-(use-service-modules desktop)
+(use-service-modules desktop xorg)
(use-package-modules bootloaders certs emacs emacs-xyz ratpoison suckless wm
xorg)
@@ -11,12 +11,14 @@
(host-name "antelope")
(timezone "Europe/Paris")
(locale "en_US.utf8")
+ (keyboard-layout (keyboard-layout "jp"))
;; 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")))
+ (bootloader grub-efi-bootloader)
+ (target "/boot/efi")
+ (keyboard-layout keyboard-layout)))
;; Assume the target root file system is labelled "my-root",
;; and the EFI System Partition has UUID 1234-ABCD.
@@ -53,7 +55,10 @@
;; Use the "desktop" services, which include the X11
;; log-in service, networking with NetworkManager, and more.
- (services %desktop-services)
+ (services (cons (set-xorg-configuration
+ (xorg-configuration ;for Xorg
+ (keyboard-layout keyboard-layout)))
+ %desktop-services))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
--8<---------------cut here---------------end--------------->8---
Closing :-)
Maxim
prev parent reply other threads:[~2020-10-22 19:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-14 19:23 bug#39606: Keyboard layout defined by 'set-xorg-configuration' is not honored by GDM Maxim Cournoyer
2020-10-22 19:54 ` Maxim Cournoyer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wnzic9zo.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=39606-done@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.