Hi all! Not good at doing any writing code an was hoping someone could help me with this. If I want to turn off my laptop touchpad I do this at the terminal.
xinput --list | grep GlidePoint (To get the ID number of my touchpad)
⎜ ↳ AlpsPS/2 ALPS GlidePoint id=13 [slave pointer (2)]
export DISPLAY=:0
xinput set-int-prop 14 "Device Enabled" 8 0
(I have to edit the ID number because it will change on a shutdown/startup)
How can a script be done to find the correct ID of my touchpad and run this from a command file?
Thanks




