I would like to connect an external touchscreen to my laptop (Ubuntu 18.10, GNOME).
The touchscreen works fine when used as the only monitor (disabling Laptop screen). However, I would like to use the two monitors side-by-side.
What I already tried (and failed):
- Rearrange monitors: Touch operations always go to the built-in monitor, independent of the monitor layout.
- Setting
WL_OUTPUTfor the USB touch input inudev(as seen in that Tizen multi-monitor multi-touch documentation): It is being ignored (in fact, thewestonsource contains no reference toWL_OUTPUT; also,weston-infodoes not give any monitor names and I doubt the monitor names fromxrandrare useful in this context). - Trying
touchpad-edge-detector: Detects coordinates fine, but did not give any hints how to proceed. - Trying
xinput_calibrator: Complains about illegal touch operations. - Using
weston-touch-calibrator: Did not find it anywhere - I have not yet tried manually creating
LIBINPUT_CALIBRATION_MATRIX, as I do not think this is the "good" way to do it (probably depends on monitor resolutions/arrangements/availability).
I think the Tizen approach would be best, i.e., to tell Weston which touchpad is related to which touchscreen. However, I cannot find a way to do this, including reading the libinput documentation and grepping through the weston source.
Having more than one monitor should not be so weird today anymore, should it? And having a touchscreen shouldn't be either?