doc:appunti:linux:sa:touchpad_disable
This is an old revision of the document!
Disable notebook touchpad in GNU/Linx
Following this recipe you can disable or enable the touchpad of your GNU/Linux notebook using the command line. I used it to control the touchpad of my Teclast F6, where the Fn key to disable the touchpad does not work.
Install the xinput Debian package and run the following to list the X input devices:
xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Logitech USB Receiver Consumer Control id=8 [slave pointer (2)] ⎜ ↳ Logitech USB Receiver id=15 [slave pointer (2)] ⎜ ↳ SYNA3602:00 0911:5288 Touchpad id=11 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Video Bus id=6 [slave keyboard (3)] ↳ Power Button id=7 [slave keyboard (3)] ↳ SHUNCCM2MP: SHUNCCM2MP id=10 [slave keyboard (3)] ↳ Intel HID events id=12 [slave keyboard (3)] ↳ Intel HID 5 button array id=13 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)] ↳ Logitech USB Receiver Consumer Control id=9 [slave keyboard (3)]
The ask more info about input the touchpad (ID #11 in the above example):
niccolo@ithaca:~$ xinput list-props 11 Device 'SYNA3602:00 0911:5288 Touchpad': Device Enabled (154): 1 Coordinate Transformation Matrix (156): 1.000000, ... Device Accel Profile (286): 1 ...
The Device Enabled property has ID #154, we can disable it:
xinput set-prop 11 154 0
Replace the zero with 1 to re-enable it.
doc/appunti/linux/sa/touchpad_disable.1620807002.txt.gz · Last modified: 2021/05/12 10:10 by niccolo