Here is a workaround that doesn't need wmctrl and is locale insensitive Append
if [ -f ~/.myscripts ]; then . ~/.myscripts fi at the end of ~/.bashrc. Copy the attachment in ~ mv myscripts .myscripts chmod +x .myscripts logout/login ** Attachment added: "monitors dbus for screen saver unlock then killall notify-osd" https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1232454/+attachment/3942095/+files/myscripts -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232454 Title: "Computer will suspend very soon because of inactivity." dialog when resuming from suspend To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-settings-daemon/+bug/1232454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs