* bug#37428: Keyboard layout setting fails when no keyboard is attached @ 2019-09-16 15:32 dario 2019-09-18 4:52 ` quiliro ` (2 more replies) 0 siblings, 3 replies; 6+ messages in thread From: dario @ 2019-09-16 15:32 UTC (permalink / raw) To: 37428 I have Guix system installed on a Laptop/Tablet hybrid that allows detaching the keyboard. In my system configuration, I set the keyboard layout to the German QWERTZ using (operating-system ... (keyboard-layout (keyboard-layout "de" "nodeadkeys")) (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi") (keyboard-layout keyboard-layout))) ... (services (append (list ... (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout) ... %desktop-services)))))) When the keyboard is attached, the keyboard layout is set correctly in the TTY and in the graphical session. However, without the keyboard attached, even when an external USB-keyboard is attached, the keyboard layout is only set correctly in the TTY, but in the graphical session, the default QWERTY layout is set. This issue is obviously very easy to work around by either attaching the keyboard or using setxkbmap, but the behaviour seems strange enough to warrant reporting. Best regards, Dario ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#37428: Keyboard layout setting fails when no keyboard is attached 2019-09-16 15:32 bug#37428: Keyboard layout setting fails when no keyboard is attached dario @ 2019-09-18 4:52 ` quiliro 2019-09-18 4:57 ` quiliro 2019-09-19 21:02 ` Ludovic Courtès 2 siblings, 0 replies; 6+ messages in thread From: quiliro @ 2019-09-18 4:52 UTC (permalink / raw) To: dario; +Cc: 37428 On Mon, September 16, 2019 10:32 am, dario wrote: > I have Guix system installed on a Laptop/Tablet hybrid that allows > detaching the keyboard. In my system configuration, I set the keyboard > layout to the German QWERTZ using > > (operating-system > ... > (keyboard-layout > (keyboard-layout "de" "nodeadkeys")) > (bootloader > (bootloader-configuration > (bootloader grub-efi-bootloader) > (target "/boot/efi") > (keyboard-layout keyboard-layout))) > ... > (services > (append > (list ... > (set-xorg-configuration > (xorg-configuration > (keyboard-layout keyboard-layout) > ... > %desktop-services)))))) (keyboard-layout keyboard-layout)) ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#37428: Keyboard layout setting fails when no keyboard is attached 2019-09-16 15:32 bug#37428: Keyboard layout setting fails when no keyboard is attached dario 2019-09-18 4:52 ` quiliro @ 2019-09-18 4:57 ` quiliro 2019-09-19 6:02 ` dario 2019-09-19 21:02 ` Ludovic Courtès 2 siblings, 1 reply; 6+ messages in thread From: quiliro @ 2019-09-18 4:57 UTC (permalink / raw) To: dario; +Cc: 37428 This is my setting for that section: (services (append (list (service gnome-desktop-service-type) (service xfce-desktop-service-type) (set-xorg-configuration (xorg-configuration ;for Xorg (keyboard-layout keyboard-layout)))) %desktop-services)) I hope it is helpful. ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#37428: Keyboard layout setting fails when no keyboard is attached 2019-09-18 4:57 ` quiliro @ 2019-09-19 6:02 ` dario 0 siblings, 0 replies; 6+ messages in thread From: dario @ 2019-09-19 6:02 UTC (permalink / raw) To: quiliro; +Cc: 37428 This looks like what I have, apart from the fact that I use exwm and therefore have neither gnome nor xfce services. I just noticed that I may have messed up the parens when I copy/pasted into the mail; in my config, they are correct. Best regards, Dario quiliro@riseup.net writes: > This is my setting for that section: > > (services (append (list > (service gnome-desktop-service-type) > (service xfce-desktop-service-type) > (set-xorg-configuration > (xorg-configuration ;for Xorg > (keyboard-layout keyboard-layout)))) > %desktop-services)) > > I hope it is helpful. ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#37428: Keyboard layout setting fails when no keyboard is attached 2019-09-16 15:32 bug#37428: Keyboard layout setting fails when no keyboard is attached dario 2019-09-18 4:52 ` quiliro 2019-09-18 4:57 ` quiliro @ 2019-09-19 21:02 ` Ludovic Courtès 2019-09-23 16:59 ` dario 2 siblings, 1 reply; 6+ messages in thread From: Ludovic Courtès @ 2019-09-19 21:02 UTC (permalink / raw) To: dario; +Cc: 37428 Hello, dario <dario.klingenberg@web.de> skribis: > When the keyboard is attached, the keyboard layout is set correctly in > the TTY and in the graphical session. However, without the keyboard > attached, even when an external USB-keyboard is attached, the keyboard > layout is only set correctly in the TTY, but in the graphical session, > the default QWERTY layout is set. Are you using GNOME, or Xfce, or some lightweight window manager? When the X11 keyboard layout is incorrect, are there any hints in ~/.local/share/xorg/Xorg.1.log as to why? Thanks, Ludo’. ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#37428: Keyboard layout setting fails when no keyboard is attached 2019-09-19 21:02 ` Ludovic Courtès @ 2019-09-23 16:59 ` dario 0 siblings, 0 replies; 6+ messages in thread From: dario @ 2019-09-23 16:59 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 37428 Hello Ludo, > Are you using GNOME, or Xfce, or some lightweight window manager? I am using EXWM. Interestingly, when using GNOME, the problem does not appear. > When the X11 keyboard layout is incorrect, are there any hints in > ~/.local/share/xorg/Xorg.1.log as to why? Maybe this is relevant? As far as I can tell, this all looks fine. [ 39.298] (II) XINPUT: Adding extended input device "Logitech K520" (type: KEYBOARD, id 10) [ 39.298] (**) Option "xkb_rules" "evdev" [ 39.298] (**) Option "xkb_layout" "de" [ 39.298] (**) Option "xkb_variant" "nodeadkeys" [ 39.298] (**) Option "xkb_options" "ctrl:nocaps" [ 39.298] (II) evdev: Logitech K520: initialized for relative axes. [ 39.298] (WW) evdev: Logitech K520: ignoring absolute axes. [ 39.298] (**) Logitech K520: (accel) keeping acceleration scheme 1 [ 39.298] (**) Logitech K520: (accel) acceleration profile 0 [ 39.298] (**) Logitech K520: (accel) acceleration factor: 2.000 [ 39.298] (**) Logitech K520: (accel) acceleration threshold: 4 I also searched for errors and warnings, but did not find anything suspicious. Also, it turns out that when attaching the tablet keyboard, the layout is also set correctly for the external keyboard, even when the tablet keyboard is removed again. Best, Dario Ludovic Courtès <ludo@gnu.org> writes: > Hello, > > dario <dario.klingenberg@web.de> skribis: > >> When the keyboard is attached, the keyboard layout is set correctly in >> the TTY and in the graphical session. However, without the keyboard >> attached, even when an external USB-keyboard is attached, the keyboard >> layout is only set correctly in the TTY, but in the graphical session, >> the default QWERTY layout is set. > > Are you using GNOME, or Xfce, or some lightweight window manager? > > When the X11 keyboard layout is incorrect, are there any hints in > ~/.local/share/xorg/Xorg.1.log as to why? > > Thanks, > Ludo’. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-09-23 17:01 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-09-16 15:32 bug#37428: Keyboard layout setting fails when no keyboard is attached dario 2019-09-18 4:52 ` quiliro 2019-09-18 4:57 ` quiliro 2019-09-19 6:02 ` dario 2019-09-19 21:02 ` Ludovic Courtès 2019-09-23 16:59 ` dario
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.