Hey i had the same probleme when i closed my laptop lid and moved the
mouse the screen came back so i used the code in Andrew Oakley post and
workt here is my lid.sh
and the code if your not registered:
#!/bin/bash
# TODO: Change the above to /bin/sh
test -f /usr/share/acpi-support/state-funcs || exit 0
. /usr/share/acpi-support/power-funcs
. /usr/share/acpi-support/policy-funcs
. /etc/default/acpi-support
export XAUTHORITY=`ls -1 /home/*/.Xauthority`
export DISPLAY=:0
grep -q closed /proc/acpi/button/lid/*/state
if [ $? = 0 ]
then
xrandr --output LVDS --off
else
xrandr --output LVDS --auto
if [ $? = 1 ]
then
xrandr --output LVDS --on
fi
fi
i hope this will help!
** Attachment added: "lid.sh"
http://launchpadlibrarian.net/22938572/lid.sh
--
closed Laptop Lid to reliably keep Backlight off
https://bugs.launchpad.net/bugs/41994
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs