Run xinput list (xorg-X11-apps must be installed for xinput).
Code:
# xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=12 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [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)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated Camera id=9 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=13 [slave keyboard (3)]
Notice that the Synaptics Touchpad is id=11. May be different on your machine. Run xinput list-props <your device number> to find out properties that can be changed.
Code:
# xinput list-props 11
Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (132): 0
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (255): 0
Device Accel Constant Deceleration (256): 1.000000
Device Accel Adaptive Deceleration (257): 1.000000
Device Accel Velocity Scaling (258): 10.000000
Evdev Axis Inversion (259): 0, 0
Evdev Axis Calibration (260): <no items>
Evdev Axes Swap (261): 0
Axis Labels (262): "Abs X" (251), "Abs Y" (252), "Abs Pressure" (253), "Abs Tool Width" (254)
Button Labels (263): "Button Left" (135), "Button Unknown" (250), "Button Unknown" (250), "Button Wheel Up" (138), "Button Wheel Down" (139)
Evdev Middle Button Emulation (264): 0
Evdev Middle Button Timeout (265): 50
Evdev Wheel Emulation (266): 1
Evdev Wheel Emulation Axes (267): 6, 7, 4, 5
Evdev Wheel Emulation Inertia (268): 10
Evdev Wheel Emulation Timeout (269): 200
Evdev Wheel Emulation Button (270): 2
Evdev Drag Lock Buttons (271): 0
To set a property of your touchpad (say disable it) put the xinput command in a executable file (you can make the file executable using the permissions tab of your file manager when run as root by right-clicking on the file, or you can do this from terminal with the chmod command). The file should start with the shebang at the top: #!/bin/sh
Example to disable the touchpad:
Code:
#!/bin/sh
xinput set-prop 11 132 0
OR
Code:
#!/bin/sh
xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0
In addition to post #3 above, you can put content in /etc/gdm/PostLogin/Default so that the file runs on login.