You are not logged in.

#1 2024-10-23 08:15:38

werefkin
Member
Registered: 2023-11-21
Posts: 38

[SOLVED] libinput - Disable while typing does not work

Hi! I use Gnome under Wayland, in this configuration the touchpad worked out of the box with libinput. However, despite "Disable touchpad while typing" is active everywhere, I can't get it to work, which makes working with the laptop very annoying.

Output of libinput list-devices:

Device:           Apple SPI Touchpad
Kernel:           /dev/input/event7
Group:            7
Seat:             seat0, default
Size:             135x84mm
Capabilities:     pointer gesture
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    enabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    button-areas *clickfinger 
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles:   flat *adaptive custom
Rotation:         n/a

Gnome settings are also correct

 gsettings get org.gnome.desktop.peripherals.touchpad disable-while-typing

returns

true

Does anyone have any idea/solution?

Last edited by werefkin (2024-10-23 09:51:19)

Offline

#2 2024-10-23 09:44:34

werefkin
Member
Registered: 2023-11-21
Posts: 38

Re: [SOLVED] libinput - Disable while typing does not work

I solved the issue. libinput thought that the built-in keyboard is external. I needed to apply libinput quirk

sudo nano /etc/libinput/local-overrides.quirks

with the following content:

[Apple SPI Keyboard Module]
MatchName=Apple SPI Keyboard
MatchUdevType=keyboard
AttrKeyboardIntegration=internal

the exact name of the keyboard can be found in

sudo libinput list-devices

Offline

Board footer

Powered by FluxBB