[Bug 1901430] Re: After suspend stylus position confused about rotated screen in multi-monitor setup
Thank you for reporting this bug to Ubuntu. Ubuntu 20.10 (groovy) reached end-of-life on July 22, 2021. See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in. ** Changed in: mutter (Ubuntu) Status: New => Won't Fix -- 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
[Bug 1901430] Re: After suspend stylus position confused about rotated screen in multi-monitor setup
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 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
[Bug 1901430] Re: After suspend stylus position confused about rotated screen in multi-monitor setup
Unfortunately the above work-around only works when I suspend using pm- suspend. The system is using systems. I'm working on figuring that out now. -- 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
[Bug 1901430] Re: After suspend stylus position confused about rotated screen in multi-monitor setup
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
[Bug 1901430] Re: After suspend stylus position confused about rotated screen in multi-monitor setup
** Tags added: multimonitor resume suspend-resume ** Tags added: wacom ** Package changed: xorg (Ubuntu) => mutter (Ubuntu) -- 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