Hi!
Running nixos 26-05, Cinnamon v: 6.6.8, on a MacBookPro11,1.
I wanted to enable touchpad palm rejection, “Disable touchpad While Typing” cause the mouse pointer keeps jumping everywhere when I type. The setting is enabled in cinnamon settings, but has no effect.
Cinnamon is not the culprit, the setting is correctly enabled:
$ gsettings get org.cinnamon.desktop.peripherals.touchpad disable-while-typing
true
Was expecting xinput / libinput to show the current value of the option “Disable While Typing Enabled”
sudo xinput list-props $myTouchpadDevice
Device ‘bcm5974’:
… plenty of libinput options but no mention of the option I was expecting
When asking libinput about the device
Disable-w-typing: n/a
I searched deeper, how udev actually setup the touchpad:
$ sudo udevadm info /dev/input/event8
ID_INPUT_TOUCHPAD_INTEGRATION=external
My guess was: the touchpad is incorrectly seen as external, hence no Disable While Typing capability in libinput.
To confirm, I booted Fedora and the udevadm output was:
ID_INPUT_TOUCHPAD_INTEGRATION=internal
Then I added an extra udev rule in my configuration.nix to force my touchpad to be seen as internal:
services.udev.extraRules = ‘’
ACTION=="add|change", \\ SUBSYSTEM=="input", \\ ENV{ID_INPUT_TOUCHPAD}=="1", \\ ENV{ID_VENDOR_ID}=="05ac", \\ ENV{ID_MODEL_ID}=="025a", \\ ENV{ID_INPUT_TOUCHPAD_INTEGRATION}="internal"‘’;
The patch works, the palm rejection works, and the outputs are:
ID_INPUT_TOUCHPAD_INTEGRATION=internal
libinput Disable While Typing Enabled (323): 1
libinput Disable While Typing Enabled Default (324): 1
Disable-w-typing: enabled
Maybe it’s a bug in my configuration, but I suspect there is something missing or a regression in udev rules. I wanted to share my findings. I’m willing to fill a bug report and help fixing it.
Thanks for reading