Public bug reported: Binary package hint: acpi-support
The powerbtn.sh in /etc/acpi is obsolete in intrepid kde4. I try a simple script, to test dbus: #!/bin/sh # /etc/acpi/powerbtn.sh # Initiates a shutdown when the power putton has been # pressed. su -c "/usr/bin/qdbus org.kde.ksmserver /KSMServer logout 1 0 0" my_user exit 0 The problem, I don't know how I can send logout to all user/all session (like dcop --all-sessions --all-users) Now, the script executes a simple /sbin/shutdown -h now "Power button pressed" ** Affects: acpi-support (Ubuntu) Importance: Undecided Status: New -- [intrepid] powerbutton doesn't work in kubuntu https://bugs.launchpad.net/bugs/288639 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs