Those instructions seem to be for gnome, and I'm using kde (without
kpowersave installed, which I'm reluctant to install due to the "ubuntu
laptop disks eating themselves after 6 months if you don't "hdparm -B
255 /dev/sda" them. (See
http://www.atomicmpc.com.au/forums.asp?s=2&c=16&t... for details.)
However, all I had to do was edit /etc/acpi/powerbtn.sh and replace the
call to /usr/bin/dcop with a call to /etc/acpi/sleep.sh.
I'm aware this is probably not the _approved_ way of doing this, but as
with most "chainsaw, shotgun, and duct tape" solutions, it works just
fine for me...