Score:0

How to automatically keep the touchscreen aligned with a specific monitor?

in flag

Ubuntu Studio 22.04 LTS

I have this command in a login script:

xinput map-to-output "Wacom ISDv4 4001 Finger touch" eDP-1-1

It works perfectly...until I change the monitor layout:
enter image description here
When the layout changes, the touch mapping is stretched or shrunk so that it no longer lines up on the screen that it's built into. Run that command again manually, and it's fixed...until the next layout change. Run it again manually......

Is there a way to keep it aligned with a specific screen? Either by a direct config somewhere, or by detecting a layout change and automatically running that command?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.