x13s のタッチパッドで libinput の disable-while-typing が効かない
x13s のタッチパッドで libinput の disable-while-typing が効かない
wayland compositor の設定で有効にしているはずなんだけど、効いてない。
キーボードを適当に叩きながらタッチパッドを触ると、普通にカーソルが動いてしまう。無効にできてない。
libinput のドキュメント にこんなことが書かれてるので、この辺の設定がおかしいのか?
libinput pairs touchpads and keyboards for the disable-while-typing feature. In the most common case, the internal touchpad is paired only with the internal keyboard. Typing on an external keyboard will thus not disable the touchpad. Some devices require a quirk to be correctly paired.
disable-while-typing 機能のために内蔵のタッチパッドとキーボードをペアにしてるんだけど、場合によってはちゃんとペアにするために quirk がいるかも、みたいな感じか。
ということで
/etc/libinput/local-overrides.quirksに以下を設定したら効くようになったっぽい:[Lenovo X13s Keyboard] MatchUdevType=keyboard MatchBus=i2c MatchVendor=0x04F3 MatchProduct=0x000D AttrKeyboardIntegration=internalメモ:
デバイスの一覧は
sudo libinput list-devicesで出せるquirk の設定ができてるかは
libinput quirks list /dev/input/event0みたいな感じで確認できる