Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hopefully someone can figure this out, because I can't.
I have an old P166 running at work with a 15" monitor. I just use it to display various pictures in a slideshow (shell script using xloadimage). I used to have RedHat 6.2 on it, and everything was working fine. But I reinstalled it with RedHat8.0 and am using ICEWM.
Now, the screen goes blank after about 15 minutes. It is like a power-saving feature I guess, because when I move the mouse or hit a key, it comes back on.
Now it isn't the monitor or the BIOS, because it didn't do these before (and I checked the settings)
It isn't apmd, I have disabled that. I don't have xscreensaver installed, and I have tried the command to turn off screen blanking at a console window.
The only thing I can still see that could be doing it is [kapmd]. This is the power management stuff that is built into the kernel. I don't want to have to recompile the kernel to remove this, so somebody please tell me that it is something else that is causing this!
I was thinking it was ICE too, but I can't figure out how to turn it off. I found this in the icewm FAQ:
--------
By default IceWM uses xlock (without any argument) to lock your screen. There may be several reasons for using a different lock command:
There is no xlock on your machine.
xlock tends to crash on your machine either leaving you locked out (best case) or unlocking your session (worst case).
xlock has some CPU intensive modes compiled in that interfere with your SETI@HOME session.
It is very easy to set a lock command: Simply add
LockCommand="xlock -mode blank"
to your $HOME/.icewm/preferences and xlock will run in blank mode (which shows nothing but a black screen).
The example was chosen on purpose: Using this mode you have the best chance of your monitor going asleep (enter power saving mode).
-----
But I don't have xlock installed. So I tried to set it to a dummy program, and it still happens. I have also tried "xset x noblank", but it doesn't work either.
I did find this on the icewm mailing list archive:
----
> how can I make ice not go into screensaving-mode/lock up the screen
> (currently I set everything I could find with a name even remotely
> similar to screensaver or lock, but my screen still goes blank after a
> while)..
It is not icewm blanking your screen. It is the X system itself. The
behavior can be changed using the "xset" command with "s" (screensaver)
and/or "dpms" (power saving) option. See xset man page for details.
----
I had tried the "xset s" command, but not the one for dpms.
"xset -dpms" didn't work either. Argggh.
"xset q" will show you the settings you have configured.
Even though I had dpms (Energy Star) disabled, it was still blanking. I could verify that it was the screen saver doing it by setting the timeout to 10 seconds.
"xset s 10 10"
After 10 seconds, the screen would go black, even though I don't have a screensaver installed.
So I set it to this:
"xset s 28800 28800"
This will set the timeout to 8 hours. (I tried 10, but got an "out of range" error)
So I put it in my .Xclients just before I launch icewm, and I should be all set!
Phew!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.