Open eudoxos opened 9 years ago
I believe this issue has been fixed in latest merge - thanks to christoph-h.
The issue was that the xinput list is empty when you boot up, give it a go with the latest set of scripts.
This bug occurs to me at every screen rotation. It seems xInput needs some time to "refind" the touch digitizer. I made a messy workaround:
while(1):
try:
check_call([
'xinput', 'set-prop', dev,
'Coordinate Transformation Matrix',
] + s['coord'].split(),env=env)
except CalledProcessError:
sleep(0.2)
continue
break
(You need to import CalledProcessError from subprocess)
Hope this helps
Hi, thanks for your wonderful scripts. I am having an issue with rotation of the touchscreen matrix. The service runs, but when I rotate the computer, calling xinput results in an error:
When I run the relevant command manually (
xinput set-prop "SYNAPTICS Synaptics Touch Digitizer V04" "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
), everything works. The device is there, as can be seen from the output. The service is run withusername
replaced by my real username.Some suggestions what I could do to debug the issue?
Thanks!