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
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
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
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launch
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 in
** 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
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1901430
Ti