This kept bothering me so I came up with a work-around.  I put the
following file (with chmod 755 so it could be executed) in
/etc/pm/sleep.d/ and called it 20_map-to-display.  You have to use the
xinput and xrandr commands to determine what your display is called
(where I have LVDS-1) and which input devices are not mapped properly
(numbers to put in where I have 13, 14, and 16), and modify those
parameters.  I think I also had to install pm-utils with apt.

PATH=/sbin:/usr/sbin:/bin:/usr/bin

case "${1}" in 
        resume|thaw)
                sleep 5
                xinput map-to-output 13 LVDS-1
                xinput map-to-output 14 LVDS-1
                xinput map-to-output 16 LVDS-1
;;


I hope this helps anyone else with my particular problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1901430

Title:
  After suspend  stylus position confused about rotated screen in multi-
  monitor setup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1901430/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to