Richard Reina wrote:
> For several days I have been trying to find a
> command that will temporarily stop my screen in
> debian from blanking and locking. I want to put
> this command into a script that will keep the
> screen awake while certain programs are running
> and then I was hoping to re-enable screen
> locking with another command.
You didn't say which Debian release you are
running nor which desktop.
For older Debian releases (e.g., Squeeze), running
Gnome 2, there were a couple of entries (so called
"keys") in the Gconf database which could be
changed using gconftool-2 to programmatically
control this behavior:
/apps/gnome-screensaver/idle_activation_enabled
/apps/gnome-screensaver/idle_delay
I believe newer Debian now uses the Dconf
database, and there are command-line tools to
manipulate it (dconf and gsettings), but I don't
know the names of the keys or even whether the
screensaver behavior is controlled there.