gnome-power-manager is utterly, utterly broken in this respect:
/var/lib/dpkg/info/gnome-power-manager.postinst
case "$1" in
configure)
if [ -r /usr/share/acpi-support/device-funcs ]; then
. /usr/share/acpi-support/device-funcs DeviceConfig
fi
if [ "x$ACPI_SLEEP" = "xtrue" ]; then gconftool-2 --direct \ --config-source xml:readwrite:/var/lib/gconf/defaults \ --set --type bool \ /apps/gnome-power-manager/can_suspend true
...otherwise, it sets it as false. g-p-m doesn't even call 'pmi capabilities' to enquiry...
What happens if you go:
System- >Preferences- >Power Management
General->Sleep Button Action = Suspend.
gnome-power-manager is utterly, utterly broken in this respect:
/var/ lib/dpkg/ info/gnome- power-manager. postinst
case "$1" in acpi-support/ device- funcs ]; then acpi-support/ device- funcs
DeviceConfi g
gconftool- 2 --direct \
--config- source xml:readwrite: /var/lib/ gconf/defaults \
--set --type bool \
/apps/ gnome-power- manager/ can_suspend true
configure)
if [ -r /usr/share/
. /usr/share/
fi
if [ "x$ACPI_SLEEP" = "xtrue" ]; then
...otherwise, it sets it as false. g-p-m doesn't even call 'pmi capabilities' to enquiry...