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 3CCA31381F3 for ; Mon, 6 Apr 2020 16:59:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9481AE103E; Mon, 6 Apr 2020 16:59:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 2C1E8E0F9F for ; Mon, 6 Apr 2020 16:59:52 +0000 (UTC) Received: from mail-il1-f177.google.com (mail-il1-f177.google.com [209.85.166.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 504F734EECE for ; Mon, 6 Apr 2020 16:59:50 +0000 (UTC) Received: by mail-il1-f177.google.com with SMTP id r5so151261ilq.6 for ; Mon, 06 Apr 2020 09:59:50 -0700 (PDT) X-Gm-Message-State: AGi0PubozTmnoXdCeqgAqLwjuS/qdS1RNOdPExsx6XvcWO0GTTR0yNVU qPzFanRgsdi2Oe5WdytD8jXHJOxSkbxLHP9ciCM= X-Google-Smtp-Source: APiQypKUSR50M18rTlXliWS0JN99V6znSy0Q++eaLq2EmxwxG1lCvH1AGYkyE3rjGtYMitbEVlSE5Od/BvMXGRIQ7Ic= X-Received: by 2002:a92:9149:: with SMTP id t70mr286675ild.114.1586192388453; Mon, 06 Apr 2020 09:59:48 -0700 (PDT) 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 MIME-Version: 1.0 References: <2125053.iZASKD2KPV@lenovo.localdomain> In-Reply-To: From: Mike Gilbert Date: Mon, 6 Apr 2020 12:59:37 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-user] Re: How to configure keyboard layout for X11 libinput? To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 1876caba-bd29-47a7-aa83-f0d06b75440a X-Archives-Hash: c44fdcf9696caf59ba6159c975b552cb On Mon, Apr 6, 2020 at 11:12 AM Grant Edwards wrote: > > 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... Take a look at the libinput(4) man page, which is installed by x11-drivers/xf86-input-libinput.