Link to video for clarification
I have Ubuntu 20.04.1 LTS on a 2-in-1 laptop (EVE V, 12.3" screen) with a touchscreen. When I use the laptop in the simple, mono-screen configuration the stylus works just fine. But when I connect an external monitor (Samsung 24") and use both screens in a dual set-up, then I get an offset in the cursor/drawing of the cursor. And this happens only when I use the stylus, if I use my finger for drawing the cursor location gets detected/displayed accurately! I figured out that the offset is only along the y-axis (vertical), along the x-axis (horizontal) there is no offset. And the offset is not constant along the screen, but gradual, increasing linearly towards the top of the touch screen. So it's like the computer tries to make also my Samsung monitor a touch screen. How can I correct that? Furthermore, the problem exists only on my Ubuntu OS, on Windows there is no offset (I have a dual partiticion) Here is a link to a video for clarification. Tnx
I found 2 other questions very similar to mine here and here. As one of the contributors answered here, on start up I could just select that I want to use Wayland instead of xorg and this solved the issue completely for me. With just 1 click!