I am using Lubuntu 13.04 and would like to have the power button cause the computer to shut down. Currently it only brings up the power preferences menu (logout, reboot, hibernate, etc…).
In Lubuntu, there is xfce4-power-manager v1.2 and I've tried to fix it here by setting the
general->when power button is pressed->shut down
option, but this doesn't change anything.
Any help would be much appreciated.
Best Answer
Try this. Edit
/etc/acpi/powerbtn.sh
, and the make sure that the lines below are the last lines in it.also look in
/etc/acpi/events/powerbtn
, and make sure it matches below, specially the last part.If you make any changes, make sure you run, before you try to see if it works. You may need to reboot.