idea of using gnome-power-manager
now see the comment
Suspend assumes gnome/kde is running
Pressing the suspend-key will call /etc/acpi/sleebtn.sh, which uses acpi_fakekey to generate an event on /dev/input/event*, which is received by gnome-power-manager or similar applications.
To get suspend to work without gnome-power-manager,
replace the acpi_fakekey line in sleepbtn.sh with the line:/etc/acpi/sleep.sh sleep
now we need to compare to setting this up with the sleepd