I had a problem with power button on my Dell Optiplex GX270 in lucid (Server Edit.). I just copied a old script: # /etc/acpi/powerbtn.sh
from another machine (server too) and now it works perfect :) $ cat /etc/acpi/powerbtn.sh #!/bin/sh # /etc/acpi/powerbtn.sh # Initiates a shutdown when the power putton has been # pressed. # Skip if we just in the middle of resuming. test -f /var/lock/acpisleep && exit 0 # If gnome-power-manager or kded4 are running, let # them handle policy This is effectively the same as 'acpi-support's # '/usr/share/acpi-support/policy-funcs' file. if pidof gnome-power-manager kded4 > /dev/null; then exit fi # If all else failed, just initiate a plain shutdown. /sbin/shutdown -h now "Power button pressed" -- Depressing power button does not shutdown computer https://bugs.launchpad.net/bugs/529686 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs