Since my upgrade to 10.04 I am seeing the exact behavior as Tom
describes above.

This line in /etc/acpi/powerbtn.sh fails for me because "pidof kded4" is
returning 2 PIDs (one is defunct, also new since upgrade):

        ( test "$XUSER" != "" && test -x /usr/bin/qdbus && test -r
/proc/$(pidof kded4)/environ && su - $XUSER -c "eval $(echo -n 'export
'; cat /proc/$(pidof kded4)/environ |tr '\0' '\n'|grep
DBUS_SESSION_BUS_ADDRESS); qdbus org.kde.kded" | grep -q powerdevil) ;
then

Which causes "/sbin/shutdown -h now "Power button pressed"" to be run.

As Tom describes, changing powerbtn.sh to use the following works for me:
PIDOFKDE4=`ps -efww|grep kded4|grep $XUSER|grep -v grep|grep -v defunct|tr -s ' 
'|awk '{print $2}'`

-- 
kde power button configuration ignored
https://bugs.launchpad.net/bugs/553557
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

Reply via email to