Okay, so here is the new work-around. You put this file in /usr/lib/systemd/system-sleep/ I called it 20_map-to-display. Call it what you like. It needs to be executable.
#!/bin/sh export HOME=/home/frohro/ export DISPLAY=:0 case $1/$2 in post/*) /usr/bin/su frohro -c "/usr/bin/sleep 3;/usr/bin/xinput map-to-output 13 LVDS-1" /usr/bin/su frohro -c "/usr/bin/sleep 3;/usr/bin/xinput map-to-output 14 LVDS-1" /usr/bin/su frohro -c "/usr/bin/sleep 3;/usr/bin/xinput map-to-output 16 LVDS-1" ;; esac I hope this is useful to someone else. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs