thanks for your helpful comments, Danjones. But I used to apply xdg-screensaver
to the root-window which is never closed although when logging out. I used:
xdg-screensaver suspend $(xwininfo -root | grep "Window id" | cut -d" " -f4)
and it worked wonderful till update to 12.10.
--
You received t
Another option I just discovered would be something like this:
while true; do dbus-send --session --dest=org.gnome.ScreenSaver
--type=method_call /org/gnome/ScreenSaver
org.gnome.ScreenSaver.SimulateUserActivity; sleep 30; done
30 should be slightly less than your screensaver timeout (in seconds
xdg-screensaver requires a windowid to suspend it. Once that window
disappears, gnome-screensaver automatically resumes.
I was having a problem with mplayer not inhibiting gnome-screensaver, so
I wrote this bash alias to inhibit it for mplayer:
alias xdg-screensaver-mplayer-suspend="xdg-screensav
xdg-screensaver suspend does not work anymore here since 12.10 --
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/988949
Title:
cannot inhibit gnome screensaver via gnome-
this works, thank you!
Although it was way easier to use gnome-screensaver-command..
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/988949
Title:
cannot inhibit gnome scr
Have you tried using xdg-screensaver to inhibit it?
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/988949
Title:
cannot inhibit gnome screensaver via gnome-screensaver-co
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: gnome-screensaver (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/988949
Title:
cannot inhibit gnome screensaver via gnome-screensaver-command
To manage notifications about this bug go to: