![]() Registered Member ![]()
|
Hi,
I am running Debian unstable and just switched from Gnome a few days ago. I have a laptop with a touchscreen as well as an external monitor. By default, the touchscreen is mapped to the entire desktop, spanning both screens. I know there are commands like xinput --map-to-output, but the new mapping is compressed when I disconnect the external monitor so I have to remap. And then re-map again when I connect the monitor again. I also know that I could write a script or an udev rule that does it for me every time (if someone has a template that would be great). But if it could just work like Gnome, that would be even better. On Gnome I don't remember ever doing anything, it just worked. I don't know what component does it, but if there is an equivalent for KDE that I just failed to install, I would like to know. Cheers, Malte |
![]() Registered Member ![]()
|
I wrote the rule /etc/udev/rules.d/99-map-touchscreen.rules
but it does nothing. Any ideas? udevadm monitor --environment --udev confirms that SUBSYSTEM=drm and ACTION=change |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]