KDE4 Screen dont lock, when hibernate or suspend pc via acpi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This error is on KDE4 (and KDE3 too).
Kubuntu 8.04 and develop 8.10alfa5 aren't still lock screen, when I
hibernate or suspend pc via acpi (sudo /etc/apci/sleep.sh or sudo
/etc/acpi/
On
http://
I found, how to fix.
with dbus-send I can lock screen:
dbus-send --session --dest=
--type=method_call --print-reply ScreenSaver
org.freedesktop
On site
http://
is added this to /etc/acpi/
when lock script starts earlier.
I creat new file /etc/acpi/
-------
#!/bin/sh
for x in /tmp/.X11-unix/*; do
getXuser;
if [ x"$XAUTHORITY" != x"" ]; then
su $user -c "dbus-send --session
--dest=
/ScreenSaver org.freedesktop
fi
done
-------
and this fix this problem.
Can you add this script to new kubuntu 8.10?
See also kpowersave bug: /bugs.launchpad .net/ubuntu/ +source/ kpowersave/ +bug/283315
https:/