Proof of concept script to disable the touchpad while typing - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook (https://forum.pine64.org/forumdisplay.php?fid=76) +--- Forum: General Discussion on Pinebook (https://forum.pine64.org/forumdisplay.php?fid=77) +--- Thread: Proof of concept script to disable the touchpad while typing (/showthread.php?tid=4916) |
RE: Proof of concept script to disable the touchpad while typing - southern.cross - 11-24-2017 (11-24-2017, 09:06 AM)rookieone Wrote:(11-23-2017, 08:51 PM)southern.cross Wrote: Has anyone gotten this script to work in the Armbian OS for Pinebook? I get the following errors when I try to use it: @rookieone That's all it was... <sheepish grin> Thanks. RE: Proof of concept script to disable the touchpad while typing - pfeerick - 02-25-2018 Adding python3 and the script to sudoers is not necessary. You need to call python3 using the full path! This works just fine on the 0.6.2 ubuntu mate image. Added user to 'input' group (sudo usermod -aG input USERNAME), copied script content to file '/usr/local/bin/touchpadTame.py' for and made executable for testing. Worked fine. Added below line to startup list via System -> Preferences -> Personal -> Startup Applications, logged out, logged back in... works like a charm! Thanks for putting it together @daid! I'll add it to my collection of scripts at https://github.com/pfeerick/pine64-scripts/ Code: /usr/bin/python3 /usr/local/bin/touchpadTame.py |