*** This bug is a duplicate of bug 1303736 ***
https://bugs.launchpad.net/bugs/1303736
This affects me in Xubuntu 18.04 clean installed this week.
I modified the workaround in #31 to pass the current user - $USER to the script:
1. Create the following file named "00_screen" in /etc/pm/sleep.d/
=================
#!/bin/bash
case "$1" in
thaw|resume)
sleep 5
sudo -u $USER env DISPLAY=:0 /usr/bin/xrandr --auto
;;
*)
;;
esac
==================
2. Change it to be executable:
# chmod +x 00_screen
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1259339
Title:
Xfce4 Power Manager does not restore screen power
To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-power-manager/+bug/1259339/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs