From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 22A4D138350 for ; Mon, 6 Apr 2020 15:15:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EABDE0F79; Mon, 6 Apr 2020 15:15:05 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [159.69.161.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DD7EEE0F50 for ; Mon, 6 Apr 2020 15:15:04 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jLTSo-000QEB-6f for gentoo-user@lists.gentoo.org; Mon, 06 Apr 2020 17:15:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: How to configure keyboard layout for X11 libinput? Date: Mon, 6 Apr 2020 15:12:59 -0000 (UTC) Message-ID: References: <2125053.iZASKD2KPV@lenovo.localdomain> User-Agent: slrn/1.0.3 (Linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 386ed75c-b101-42ea-894e-eac64f28d552 X-Archives-Hash: 9e1f00b0f173f8d9ea42337de6cdf95e On 2020-04-06, Grant Edwards wrote: > On 2020-04-06, Michael wrote: > >> Did you try '/etc/X11/xorg.conf.d/10-evdev.conf' ? > > My keyboard config is in /etc/X11/xorg.conf.d/30-keyboard.conf > > The control/capslock key mapping still works, but the keyboard layout > is borked. If I remove that file, the control/capslock mapping stops > working (as expected), and the kayboard layout is OK. > > Next, I tried just removing 'Option "XkbLayout'", and that made no > difference. Here is what I started with: > > Section "InputClass" > Identifier "keyboard-all" > Driver "libinput" > Option "XkbLayout" "us" > Option "XkbRules" "xorg" > Option "XkbOptions" "ctrl:nocaps,compose:ralt" > MatchIsKeyboard "on" > EndSection I also had to remove the "XkbRules" option. Now the keyboard mapping is back to "normal". 'Twould be nice if things like that were documented somewhere, but I'm not sure where it would be... -- Grant