Ubuntu – Xubuntu 13.10 shuts down without asking when power button pressed

13.10power-managementxfcexubuntu

Since I upgraded to Xubuntu 13.10, I can't seem to make the power button bring up the xfce shutdown dialog. I never had this problem on 13.04, but even after a clean install it persists.

When I use unity, the dialog comes up as expected, so the problem seems to be specific to xubuntu. Is anyone else experiencing this? Any tips on how to fix it?

Best Answer

I had to edit /etc/systemd/logind.conf to make HandlePowerKey=ignore, and that solved the issue!