I would like my power button to suspend - no questions asked.
xfce4-power-manager would like my power button to suspend - but only after I have been asked:
An application is currently disabling the automatic sleep. Doing this action now may damage the working state of this application.
It seems to be caused by having a YouTube video on pause. And I really could not care less. The surprising part is that if I close my lid, then xfce4-power-manager does understand that it should suspend no questions asked.
So is there a way I can make xfce4-power-manager understand that when I press the power button, I simply want the same behaviour as if I closed the lid?
In Power manager settings both 'When power button is pressed' and 'When laptop lid is closed' are set to 'Suspend'.