The touchpad tapping is disabled by default.
To enable it, do this:
- Install xinput:
sudo apt install -y xinput
- Get the touchpad ID:
xinput --list
You will see something like this:
⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Elan Touchpad id=11 [slave pointer (2)] ⎜ ↳ Elan TrackPoint id=12 [slave pointer (2)] ⎜ ↳ ELAN Touchscreen id=9 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)]
As shown in the example above, the Elan Touchpad ID is 11. It might be different on your device.
- Query available settings for the device:
xinput list-props 11 | head -n5
You will find something like this:
Device 'Elan Touchpad': Device Enabled (187): 1 Coordinate Transformation Matrix (189): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 libinput Tapping Enabled (320): 0 libinput Tapping Enabled Default (321): 0
As you can see, the libinput Tapping Enabled
property with the ID of 320 is disabled with the value of 0.
- Enable touchpad tapping:
xinput set-prop 11 320 1
This command sets the property for the touchpad device (11) to enable libinput Tapping (320).
Top comments (0)