public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: How to configure keyboard layout for X11 libinput?
Date: Mon, 6 Apr 2020 15:12:59 -0000 (UTC)	[thread overview]
Message-ID: <r6fgtr$2h50$1@ciao.gmane.io> (raw)
In-Reply-To: r6fgna$1dq2$1@ciao.gmane.io

On 2020-04-06, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> On 2020-04-06, Michael <confabulate@kintzios.com> 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



  reply	other threads:[~2020-04-06 15:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-06 14:37 [gentoo-user] How to configure keyboard layout for X11 libinput? Grant Edwards
2020-04-06 14:47 ` Michael
2020-04-06 15:09   ` [gentoo-user] " Grant Edwards
2020-04-06 15:12     ` Grant Edwards [this message]
2020-04-06 16:59       ` Mike Gilbert
2020-04-06 18:00         ` Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='r6fgtr$2h50$1@ciao.gmane.io' \
    --to=grant.b.edwards@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox