Stratus_ss
12-29-11, 07:22 AM
So I have been poking around trying to figure out how to, if the screen saver kicks in, turn it off from the terminal.
I have found
gnome-screensaver-command -d
However this does not seem to work turning off the default gnome 3 screen saver.
I tested this by doing a while true loop.
i.e.
while true; do sleep 65 && echo "poking the screen saver" && gnome-screensaver-command -d; done
I set the screen saver to come on after 1 minute then I waited. I let it go for 3 iterations but the screen saver did not turn off.
I tried turning off the lock screen and re-running the experiment. I am familiar with gnome-shell extensions such as presentation mode but I am trying to find out how to do this from the CLI
As an alternative, I could inject code to the releveant place if I knew where that was.... I was looking for a file which stored the timeout so that I could change it but I couldnt find any.
Anyone have any guesses as how to proceed?
I have found
gnome-screensaver-command -d
However this does not seem to work turning off the default gnome 3 screen saver.
I tested this by doing a while true loop.
i.e.
while true; do sleep 65 && echo "poking the screen saver" && gnome-screensaver-command -d; done
I set the screen saver to come on after 1 minute then I waited. I let it go for 3 iterations but the screen saver did not turn off.
I tried turning off the lock screen and re-running the experiment. I am familiar with gnome-shell extensions such as presentation mode but I am trying to find out how to do this from the CLI
As an alternative, I could inject code to the releveant place if I knew where that was.... I was looking for a file which stored the timeout so that I could change it but I couldnt find any.
Anyone have any guesses as how to proceed?