sceenblank ignores $SCREEN_LOCK in /etc/default/acpi-support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The screenblank script in /usr/share/
Here is a patch to screeblank that checks the value of the $LOCK_SCREEn variable, and if 'true' then uses the -lock option to xscreensaver-
screenblank.patch:
--- screenblank 2005-11-04 17:09:36.000000000 -0500
+++ screenblank.new 2005-11-04 17:10:05.000000000 -0500
@@ -1,4 +1,7 @@
-su $user -c "(xscreensaver-
+if [ x$LOCK_SCREEN = xtrue ]; then
+ LOCK='-lock'
+fi
+su $user -c "(xscreensaver-
xset dpms force off
if [ x$RADEON_LIGHT = xtrue ]; then
[ -x /usr/sbin/
Changed in acpi-support (Ubuntu): | |
assignee: | nobody → Slavik (slavikstar) |
information type: | Public → Public Security |
Changed in acpi-support (Ubuntu): | |
assignee: | a59ff5 (a59ff5a59ff5) → nobody |
information type: | Public Security → Public |
Hello Zach, thanks for your report.
I just went to follow this up and found it's already been applied!