Hello all,
Just a little tip here while I was working on how to get this working properly.
I have a touchscreen laptop that is regularly connected to an external monitor (not touchscreen). However, while the external monitor is connected, touch input is not properly mapped, causing the mouse cursor to move on the external monitor rather than on the touchscreen as is expected. To fix this, I ran the command
to list all the xinput devices on my system and determined the touch controller is identified by
on my system. I then ran
to determine the name of the touch display in my system
I then ran the command
Code:
xinput map-to-output 13 eDP-1
and the touchscreen fucntionality now works as expected.
However, this does not stick across sessions/reboots. To get it to stick so that I don't have to enter the command everytime I logout or reboot, I added it to my ~/.xsessionrc.
Now touchscreen works as expected without any need to configure on every boot. I hope this can help others.
-Ezekiel