raghu1111
February 8th, 2010, 08:17 PM
What I am trying to achieve:
I have selected photo slide show as the screensaver and normally it activates after 5min of inactivity and 'power saving' turns off monitor after 15min.
Occasionally I would like to run the same slideshow for one hour without interruption by the gnome-screen saver. (Ideally in a script so that it could be launched with one click).
One way to do this would be :
#!/bin/bash
#disable screen saver temporarily
gnome-scrensaver-command -i &
PID=`jobs -p`
#find the right args for gnome-screensaver slideshow
/usr/lib/gnome-screensaver/gnome-sreensaver/slideshow
# or run some other slideshow
sleep 3600
kill $PID
Two questions with the above approach :
1. How can we start "/usr/lib/gnome-screensaver/gnome-sreensaver/slideshow" same way that gnome-screensaver would?
2. will 'gnome-screensaver-command -i' command also prevent power management from turning off the monitor?
I have selected photo slide show as the screensaver and normally it activates after 5min of inactivity and 'power saving' turns off monitor after 15min.
Occasionally I would like to run the same slideshow for one hour without interruption by the gnome-screen saver. (Ideally in a script so that it could be launched with one click).
One way to do this would be :
#!/bin/bash
#disable screen saver temporarily
gnome-scrensaver-command -i &
PID=`jobs -p`
#find the right args for gnome-screensaver slideshow
/usr/lib/gnome-screensaver/gnome-sreensaver/slideshow
# or run some other slideshow
sleep 3600
kill $PID
Two questions with the above approach :
1. How can we start "/usr/lib/gnome-screensaver/gnome-sreensaver/slideshow" same way that gnome-screensaver would?
2. will 'gnome-screensaver-command -i' command also prevent power management from turning off the monitor?