[Bug 288639] [NEW] [intrepid] powerbutton doesn't work in kubuntu

Launchpad Bug Tracker 288639 at bugs.launchpad.net
Thu Feb 5 16:24:43 UTC 2009


You have been subscribed to a public bug:

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: kubuntu-meta (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 Kubuntu Bugs, which is subscribed to kubuntu-meta in ubuntu.




More information about the kubuntu-bugs mailing list