Seems there's an easy way to diagnose this. Just use the dbus-monitor to see what events are generated on your system when the screensaver activates and note the member name. Substitute that into the script and it should be triggered on the correct event generated on your system. In 9.04 and older, the event was SessionIdleChanged. Let us know what event is generated on your system. Thanks.
$ dbus-monitor type=signal interface="org.gnome.ScreenSaver" -- Power Manager Not putting Monitor to Sleep https://bugs.launchpad.net/bugs/550054 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs