08-27-2017, 08:26 AM
(08-27-2017, 07:56 AM)daid Wrote: I don't run the script with sudo, shouldn't be needed, as user you should be able to do what it needs to do...
Code:
combs@pinebook:/usr/local/bin$ python3 trackpadsleep.py
Unable to connect to X server
Traceback (most recent call last):
File "trackpadsleep.py", line 372, in <module>
TouchpadHack().inputReadThread()
File "trackpadsleep.py", line 332, in inputReadThread
f = open(event_path, "rb")
PermissionError: [Errno 13] Permission denied: '/dev/input/event0'
Could probably just change perms on that, come to think of it...