3

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_OUTPUT for the USB touch input in udev (as seen in that Tizen multi-monitor multi-touch documentation): It is being ignored (in fact, the weston source contains no reference to WL_OUTPUT; also, weston-info does not give any monitor names and I doubt the monitor names from xrandr are 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?

1 Answers1

1

Arch Linux Wiki documents this to be unsupported:

Wayland does not currently have a known method to lock touching to a specific display in any environment other than sway [...]

(Sway is a Wayland compositor for i3).