Since the last ACPI update from a while back, the powerbtn.sh script changed a lot, making it easier to fix this. I managed to get this all working by changing the if-statement to the following:
if pidof gnome-power-manager kded4 xfce4-power-manager > /dev/null; then
exit
fi
I added the xfce4-power-manager to it, which fixed the power button action to do what the power manager is set to. I don't have the scripts for the sleep button and the lid, so those are handled by the power manager anyway.
Since the last ACPI update from a while back, the powerbtn.sh script changed a lot, making it easier to fix this. I managed to get this all working by changing the if-statement to the following:
if pidof gnome-power-manager kded4 xfce4-power-manager > /dev/null; then
exit
fi
I added the xfce4-power-manager to it, which fixed the power button action to do what the power manager is set to. I don't have the scripts for the sleep button and the lid, so those are handled by the power manager anyway.