Jan, did you change the user name in the script to your own?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1303736
Title:
[SRU] Black screen after wakeup from suspending by closing the laptop
lid
If executing "xrandr --auto" works, the following script will automate
the process:
Add a file, say "00_screen", in
/etc/pm/sleep.d/
with the following content:
##
#!/bin/bash
case "$1" in
thaw|resume)
sleep 5
sudo -u lolc env DISPLAY=:0 /usr/bin/xrandr -
*** This bug is a duplicate of bug 1303736 ***
https://bugs.launchpad.net/bugs/1303736
I have written an automated script to execute the "xrandr --auto"
command after resume. It solves the blank-screen problem for me.
1. Create the following file named "00_screen" in /etc/pm/sleep.d/
===