Package: acpi-support Version: 0.109-1 Severity: wishlist Currently, /etc/acpi/lid.sh will go ahead and blank the screen, unless the result of CheckPolicy is 0. However, CheckPolicy is defined off in /usr/share/acpi and gives the user no chance to override, basically checking for the existence of Gnome or KDE power-management systems.
The lid.sh script _does_ call /etc/acpi/local/lid.sh, but doesn't care if that script succeeds or not. I changed the call to be: if [ -x /etc/acpi/local/lid.sh.pre ]; then /etc/acpi/local/lid.sh.pre || exit; fi and now if that script exists but exits with a return code, the screen blanking is aborted. This lets me close the lid of my laptop when watching stuff on the external connector. Conviniently, the laptop hardware already blanks the screen when the lid is closed. I _ought_ to have that script check if I have the external connector going, but currently it's just an exit 1. Anyway, if I've missed something or overlooked something, please let me know. ^_^ -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- Paul "TBBle" Hampson, [EMAIL PROTECTED] Shorter .sig for a more eco-friendly paperless office.
pgptOtJZ3Zhs7.pgp
Description: PGP signature

