[Pkg-acpi-devel] Bug#605276: one more thing for alterntives to xscreensaver to work

Santiago Garcia Mantinan manty at debian.org
Tue Nov 29 19:14:45 UTC 2011


Just one more thing I forgot to say, sleep.sh still checks for xscreensaver,
so the patch in my previous message won't work unless you remove that check,
which is what this patch does

--- /etc/acpi/sleep.sh~	2011-03-23 20:28:31.000000000 +0100
+++ /etc/acpi/sleep.sh	2011-11-29 20:13:13.769106752 +0100
@@ -26,7 +26,6 @@
 fi
 
 if [ x$LOCK_SCREEN = xtrue ]; then
-    if pidof xscreensaver > /dev/null; then
 	d=/tmp/.X11-unix
 	for x in $d/*; do
 	    displaynum=${x#$d/X}
@@ -36,7 +35,6 @@
 		. /usr/share/acpi-support/screenblank
 	    fi
 	done
-    fi
 fi
 
 pm-suspend

-- 
Manty/BestiaTester -> http://manty.net





More information about the Pkg-acpi-devel mailing list