Package: spicctrl Version: 1.6-1 Severity: wishlist Tags: patch spicctrl allows the display brightness to be adjusted. This is particularly useful when running off battery.
Please consider installing the following scripts, which will
automatically lower the brightness when the main power is
disconnected, and bring it back to maximum when connected again. The
values could/should probably be exported to /etc/default/spicctrl.
cat <<_eof > /etc/acpi/events/spicctrl-brightness
event=ac_adapter
action=/etc/acpi/actions/spicctrl-brightness.sh
_eof
cat <<_eof > /etc/acpi/actions/spicctrl-brightness.sh
#!/bin/sh -e
# /etc/acpi/actions/spicctrl-brightness.sh
status=`sed -ne "s,state: *,,p" /proc/acpi/ac_adapter/ACAD/state`
case $status in
"on-line")
logger -t acpid setting display to high brightness...
exec /usr/bin/spicctrl -b 255
;;
"off-line")
logger -t acpid setting display to low brightness...
exec /usr/bin/spicctrl -b 100
;;
esac
_eof
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (600, 'testing'), (98, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-wing
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages spicctrl depends on:
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
-- no debconf information
--
.''`. martin f. krafft <[EMAIL PROTECTED]>
: :' : proud Debian developer, admin, user, and author
`. `'`
`- Debian - when you have better things to do than fixing a system
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
above all, we should not wish to divest
our existence of its rich ambiguity.
--friedrich nietzsche
signature.asc
Description: Digital signature

