Comment 4 for bug 1243399

Revision history for this message
Antonis Kanouras (akanouras) wrote :

Same here.

/etc/acpi/powerbtn.sh tries to source /usr/share/acpi-support/power-funcs , which doesn't exist in any package under 13.10 (it did exist in 13.04), and run getXconsole() from it, which would set XUSER.

With XUSER not set, and "kded4" not included in the PMS variable, control will always reach the /sbin/shutdown line when only KDE sessions are running on the system.

Please find attached an updated version of the script, using logind for power manager detection instead.