This light-locker remove "fix" does not work on my Thinkpad T61:
after lid open the screen is still black. I have to reset the X11 display with 
"xrandr --auto"

My (nasty) workaround is:

Create /etc/acpi/events/lidopen :

event=button/lid LID open
action=/etc/acpi/lidopen.sh


Create /etc/acpi/lidopen.sh :

su -l -c 'DISPLAY=:0 /usr/local/bin/xreset' $(ps aux | awk '/[\/]xinit/{print 
$1}')
   

Create /usr/local/bin/xreset :

xrandr --auto
killall xfce4-display-settings


In Ubuntu 12.04 there was /etc/acpi/lid.sh, see:

https://help.ubuntu.com/community/LaptopLidAndDockScripts

but this script has gone, some *CENSORED* have removed it.
Therefore one has to create /etc/acpi/events/lidopen and
/etc/acpi/lidopen.sh

-- 
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

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-power-manager/+bug/1303736/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to