Koozali.org: home of the SME Server

disabling screen saver?

austin

disabling screen saver?
« on: February 17, 2002, 08:03:51 PM »
hi,

this sounds like it is a silly question, but i've stfw and rtfm and i can't seem to find out how to stop the "screen saver" blanking out the screen at the console after a few minutes.  i would like to be able to use tail -f /var/log/messages and leave the monitor swiched on in the corner of the office to see what's going on with the e-smith server.

this has to be so simple, but i just can't find the answer....

tia

austin

Rich Lafferty

Re: disabling screen saver?
« Reply #1 on: February 18, 2002, 06:45:51 PM »
Off the top of my head and untested:

setterm -blank 0

You might also need

setterm -powersave off
setterm -powerdown 0

but I believe -blank will do it.

Cheers,

--Rich

austin

Re: disabling screen saver?
« Reply #2 on: February 18, 2002, 08:19:47 PM »
Thanks Rich!

setterm -blank 0

does the job.

austin

Janm

disable console blanking
« Reply #3 on: January 02, 2006, 02:51:51 PM »
just did a google for it

/usr/sbin/setterm -blank 0 -powersave off -powerdown 0 >& /dev/null

in your

/etc/rc.d/rc.local

or whatever your distro uses

/usr/sbin/setterm -blank 0
should be ok, but the other options won't hurt
And don't forget to RTFM    man setterm
PS: sorry didnt se the date on top so maybe the question is to old  :hammer:
Jan dk