Hi,

At Mon, 16 Jan 2012 10:16:00 +0100,
Michael Meskes wrote:

> I agree. Could please edit /usr/share/acpi-support/screenblank and replace
> "vbetool dpms off" with "vbetool dpms suspend" and tell me if that makes a
> difference? 

I tried it with acpi-support_0.138-11. There was no change.

Now, the following change is added and I use. 

diff -u lid.sh.org lid.sh
--- lid.sh.org  2012-01-12 17:59:51.000000000 +0900
+++ lid.sh      2012-01-19 20:35:02.588906235 +0900
@@ -13,7 +13,9 @@
 grep -q closed /proc/acpi/button/lid/*/state
 if [ $? = 0 ]
 then
-    . /usr/share/acpi-support/screenblank
+    if [ x$LOCK_SCREEN = xtrue ]; then
+       . /usr/share/acpi-support/screenblank
+    fi
     if [ x$LID_SLEEP = xtrue ]; then
        pm-suspend
     fi



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to