disabling screensaver (monitor off)

Anybody know, how to prevent the monitor to
go blank in console mode?

Regards, Oli
LVL 1
Oli2Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

EatEmAndSmileCommented:
Yes, and as you may have noticed, it goes blank even in X after the time set.

 If you have a true Linux compliant distribution, you can edit /etc/rc.d/rc.M and look for the "setterm" command. It will say something like:

setterm -blank 15

 Just comment out that line and you will get no more blanks.

 If you haven't got a Linux compliant distribution, you've got two options:

 1) Find the setterm ran at start-up yourself, by going to the /etc/rc.d directory and using:

 grep -l setterm *

 and if you've also got subdirectories:

 grep -l setterm */*

 to get a list of files that contain "setterm" inside them. Then edit the file displayed by grep.

 2) Put another "setterm" in your /etc/rc.d/rc.local. Something like:

 setterm -blank 0

 Good luck!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Oli2Author Commented:
Hi, EatEm, thanx for your answer.
I use SUSE Linux, and there's no setterm found either by using grep -l setterm * or by using grep -l setterm */* inside the /etc/rc.d directory. Also, there's no rc.local file where I could append the setterm -blank 0. Also, there's no rc.M file.
Regards, Oli
0
EatEmAndSmileCommented:
Strange, very strange... Well, tell me what does "ls" give you inside the /etc/rc.d

 Do:

 cd /etc/rc.d

 ls

 Gimme the output, please.
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Oli2Author Commented:

...
README
apache
at
axnet
boot
boot.d
boot.local
boot.setup
cdb
cron
dummy
file.txt
gpm
halt
halt.local
i4l
i4l_hardware
inetd
init.d
inn
ipfwadm
kbd
kerneld
lpd
named
network
nfs
nfsserver
pcnfsd
powerfail
random
rc
rc0.d
rc1.d
rc2.d
rc3.d
rc4.d
rc5.d
rc6.d
rcS.d
reboot
route
routed
rpc
rwhod
sendmail
serial
single
skeleton
svgatext
sybase
syslog
xdm
ypclient

regards, Oli
0
Oli2Author Commented:
file.txt was for the ls > file.txt command
0
EatEmAndSmileCommented:
Oh, no... You've got that rc.X (where X is always a number that says nothing useful) on your system.

 Well, guess it will be harder to find the setterm there.

 Ok, you could put the "setterm -blank 0" on your .bashrc / .profile / .bash_profile file, so it would work at least while you're logged in.

 Give it a try...
0
EatEmAndSmileCommented:
By the way, run by hand:

 setterm -blank 0

 To see if your system at least does have the command.
0
Oli2Author Commented:
running it by hand works fine and that's all I need.
Fortunately Linux does not need a reboot every day, like Windows does ;-)

Regards, Oli
0
EatEmAndSmileCommented:
Yeah, ok... Cool!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.