From mboxrd@z Thu Jan 1 00:00:00 1970 From: dario Subject: bug#37428: Keyboard layout setting fails when no keyboard is attached Date: Mon, 23 Sep 2019 18:59:46 +0200 Message-ID: <87sgonhrst.fsf@web.de> References: <87o8zkqmt3.fsf@web.de> <87tv98vw1y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38315) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCRhv-0008Nt-35 for bug-guix@gnu.org; Mon, 23 Sep 2019 13:01:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCRht-00072a-Vj for bug-guix@gnu.org; Mon, 23 Sep 2019 13:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56396) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCRht-00072W-Sq for bug-guix@gnu.org; Mon, 23 Sep 2019 13:01:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iCRht-0006uZ-Pm for bug-guix@gnu.org; Mon, 23 Sep 2019 13:01:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87tv98vw1y.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: 37428@debbugs.gnu.org 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 appe= ar. > 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" (typ= e: 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 suspicio= us. 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=C3=A8s writes: > Hello, > > dario 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=E2=80=99.