See How to Shutdown Ubuntu with the PC Power Button. Basically edit /etc/acpi/powerbtn.sh and as the first command use e.g.:
shutdown -h now; exit 0;
See How to Shutdown Ubuntu with the PC Power Button. Basically edit /etc/acpi/powerbtn.sh and as the first command use e.g.:
shutdown -h now; exit 0;