You are not logged in.

#1 2021-11-05 03:51:25

ttshaw1
Member
Registered: 2020-04-12
Posts: 31

Restrict tablet input to one monitor or application in Wayland

I have a setup with two monitors and a USB drawing tablet that I find useful for taking notes during meetings. My ideal is to have videoconferencing software maximized on one monitor and Xournal++ open on the other. By default, the left half of the tablet corresponds to the notes monitor and the right half corresponds to the meeting monitor. To make writing easier, I remap it so that tablet's entire area is bound to the notes monitor. With Xorg, this is done with

xinput map-to-output $tablet device name$ $monitor name$

I'm trying to install Arch ditching Xorg entirely for Wayland. In order to do that I'll need a way to replace xinput map-to-output with a similar function in Wayland. How can I restrict this particular mouse-like input device to one monitor or one application?

Offline

#2 2021-11-05 05:07:11

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: Restrict tablet input to one monitor or application in Wayland

gnome should have an option in its settings, sway has a map_to_output command and kde probably has a setting as well.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2021-11-05 15:35:17

ttshaw1
Member
Registered: 2020-04-12
Posts: 31

Re: Restrict tablet input to one monitor or application in Wayland

I''m using KDE Plasma with the default compositor, and I haven't found an option to do that it in the settings GUI.

Offline

Board footer

Powered by FluxBB