Proof of concept script to disable the touchpad while typing
#19
Has anyone gotten this script to work in the Armbian OS for Pinebook? I get the following errors when I try to use it:

Code:
Traceback (most recent call last):
 File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
   self.run()
 File "/usr/lib/python3.5/threading.py", line 862, in run
   self._target(*self._args, **self._kwargs)
 File "touchpadsleep.py", line 312, in timeoutThread
   device_number = self.findXInputDeviceNumber()
 File "touchpadsleep.py", line 303, in findXInputDeviceNumber
   res = subprocess.run(["/usr/bin/xinput", "list"], stdout=subprocess.PIPE).stdout
 File "/usr/lib/python3.5/subprocess.py", line 693, in run
   with Popen(*popenargs, **kwargs) as process:
 File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
   restore_signals, start_new_session)
 File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
   raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/xinput'


Messages In This Thread
RE: Proof of concept script to disable the touchpad while typing - by southern.cross - 11-23-2017, 08:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to enable touchpad natural scrolling? plumlis 3 7,125 07-19-2020, 02:46 PM
Last Post: Martin Gruber
  Disable touchpad tap to click? colin.faulkingham 25 40,019 04-27-2020, 07:31 PM
Last Post: ab1jx
Sad touchpad edges scrolling kurai021 11 15,480 07-09-2017, 05:56 PM
Last Post: Luke

Forum Jump:


Users browsing this thread: 2 Guest(s)