Disabling the touch pad on HP chromebook butterfly running linux
I use a wireless USB mouse instead so....
1. Determine track pad device id as follows from command line...
$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech K520 id=9 [slave pointer (2)]
⎜ ↳ Logitech M325 id=10 [slave pointer (2)]
⎜ ↳ Logitech M310/M310t id=11 [slave pointer (2)]
⎜ ↳ Cypress APA Trackpad (cyapa) id=15 [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)]
↳ Power Button id=8 [slave keyboard (3)]
↳ HP Truevision HD: HP Truevision id=12 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
↳ Logitech K520 id=14 [slave
Note the (id 15) Cypress APA Trackpad and
also note my (id 10) add on logitech m325 USB wireless mouse.
Now use a suitable text editor (like vi) to create some bash scripts as follows:
containing:
#!/bin/bash
xinput set-prop 15 "Device Enabled" 0
3. ~/bin/trackpadup
containing:
#!/bin/bash
xinput set-prop 15 "Device Enabled" 1
4. chmod 755 /bin/trackpad*
5. From command prompt issue trackpaddown to disable the on board trackpad or trackpadup to reenable the builtin trackpad device.
6. To automate this at lubuntu startup...
7. Create this directory and file...
mkdir /home/login/
containing....
touch /home/login
#!/bin/bash
~/bin/trackpaddown
don't forget this...
chmod 755 /home/login
update: (12/3/2018) I've noticed more weird focus jumping in chrome and I just checked with:
xinput --list --short
and discovered an additional still active
"Cypress APA Trackpad (cyapa) id=13 [slave pointer (2)]"
line in the output so I went back and revised the trackpaddown script to read thusly...
#!/bin/bash
xinput set-prop 15 "Device Enabled" 0
xinput set-prop 13 "Device Enabled" 0
Comments
Post a Comment
Comments welcome!