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. ** Patch added: "powerbtn.sh updated for logind" https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/1243399/+attachment/3892069/+files/powerbtn.sh.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1243399 Title: powers off instead of sleep under KDE4 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/1243399/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
