[Bug 1303736] Re: [SRU] Black screen after wakeup from suspending by closing the laptop lid

2015-01-04 Thread Lawrence Ong
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

[Bug 1303736] Re: [SRU] Black screen after wakeup from suspending by closing the laptop lid

2014-11-02 Thread Lawrence Ong
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 -

[Bug 1259339] Re: Xfce4 Power Manager does not restore screen power

2014-07-29 Thread Lawrence Ong
*** 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/ ===