this post was submitted on 20 Nov 2024
16 points (100.0% liked)

Linux

48287 readers
636 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hi!

I'm currently trying to use my Wacom tablet with 2 monitors on, however the tablet sees both monitor on the pad and the pen can travel to both monitors. I want to limit the tablet to only one monitor, both pad and pen.

I'm on river, so probably any wlroots solution would work.

This is my libinput output:

Device:           Wacom Intuos S 2 Pen
Kernel:           /dev/input/event4
Group:            3
Seat:             seat0, default
Size:             152x95mm
Capabilities:     tablet 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   none
Rotation:         n/a

Device:           Wacom Intuos S 2 Pad
Kernel:           /dev/input/event6
Group:            3
Seat:             seat0, default
Capabilities:     tablet-pad
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a
Pad:
	Rings:   0
	Strips:  0
	Buttons: 4
	Mode groups: 1 (1 modes)

By the way, I like how libinput let my tablet pen to use the cursor differently from the mouse and they don't interfere with each other.


Edit: I tried this but it didn't work. riverctl input "Wacom Intuos S 2 Pad" map-to-output DP-1

It seems river handles inputs like this but not sure what's wrong with this, maybe the name?


Edit 2: Found the solution. Apparently riverctl also can list inputs with this: riverctl list-inputs

I took the name from that list and added to the command above, which is:

riverctl input "tablet-1386-827-Wacom_Intuos_S_2_Pen" map-to-output DP-1

Thanks to the guys at libera-chat channel.

top 4 comments
sorted by: hot top controversial new old
[–] fl42v@lemmy.ml 3 points 8 hours ago (1 children)
[–] muhyb@programming.dev 2 points 7 hours ago

Found my answer faster than I thought. Thanks though, this might be useful for people who use Hyprland.

[–] CaptainBasculin@lemmy.ml 2 points 8 hours ago (1 children)
[–] muhyb@programming.dev 2 points 7 hours ago

Solved the issue but thank you for the reply. It looks like a nice GUI option.