Until this is fixed, you might want to use this workaround that I
scripted quickly: create a file /etc/pm/sleep.d/90-gnome-screensaver.sh
with the following content:
--- snip ---
#!/bin/sh
. /usr/share/acpi-support/power-funcs
case "$1" in
thaw)
# now, we should poke xscreensaver so you get a dialog
if pidof gnome-screensaver > /dev/null; then
for x in /tmp/.X11-unix/*; do
displaynum=`echo $x | sed s#/tmp/.X11-unix/X##`
getXuser;
if [ x"$XAUTHORITY" != x"" ]; then
export DISPLAY=":$displaynum"
su $user -c "(gnome-screensaver-command --poke)"
fi
done
fi
;;
*)
;;
esac
--- snip ---
Then, make the script executable: chmod a+x /etc/pm/sleep.d/90-gnome-
screensaver.sh
The script is largely based on a script that was included for
xscreensaver in hardy. I just adapted it for gnome-screensaver.
--
Unlock dialog should be displayed when resuming from standby or hibernation
https://bugs.launchpad.net/bugs/509660
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs