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, 16 Sep 2019 17:32:31 +0200 Message-ID: <87o8zkqmt3.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39672) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9tea-0000cR-MO for bug-guix@gnu.org; Mon, 16 Sep 2019 12:15:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i9teZ-0004OJ-EZ for bug-guix@gnu.org; Mon, 16 Sep 2019 12:15:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42091) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i9teZ-0004O8-6u for bug-guix@gnu.org; Mon, 16 Sep 2019 12:15:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i9teZ-0003rK-0l for bug-guix@gnu.org; Mon, 16 Sep 2019 12:15:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:60941) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9szn-0006gy-AP for bug-guix@gnu.org; Mon, 16 Sep 2019 11:32:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i9szl-00038w-NY for bug-guix@gnu.org; Mon, 16 Sep 2019 11:32:54 -0400 Received: from mout.web.de ([212.227.17.12]:36257) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i9szj-00033v-2C for bug-guix@gnu.org; Mon, 16 Sep 2019 11:32:52 -0400 Received: from klingenberg-tablet ([95.222.214.10]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MgfBj-1hm3943KsB-00O1SB for ; Mon, 16 Sep 2019 17:32:43 +0200 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: 37428@debbugs.gnu.org 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