Specifically I find that my power button kicks off a shutdown. From X or whatever the machine simply goes immediately into a shutdown.
I am running acpid and Gnome 2.16 which I have set the power manager configuration to "Ask Me" what to do when the power button is pressed.
I am not sure if it is a default rule in acpid or X that is taking effect because the Ask Me feature certainly is not.
stardotstar@spitfire /etc/acpi/events $ ls
a-ac-aticonfig default lm_battery pmg_ac_adapter
a-lid-aticonfig lm_ac_adapter lm_lid pmg_battery
so no event identified (default is not changed)
stardotstar@spitfire /etc/acpi $ cd actions/
stardotstar@spitfire /etc/acpi/actions $ ls
lm_ac_adapter.sh lm_battery.sh lm_lid.sh pmg_switch_runlevel.sh
no power button action defined either...