LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   How to stop screen blanking during inactivity (http://www.linuxquestions.org/questions/slackware-14/how-to-stop-screen-blanking-during-inactivity-922044/)

Stephen Morgan 01-04-2012 01:12 PM

How to stop screen blanking during inactivity
 
Running -current, the screen goes black after a few minutes of inactivity, except when watching videos.

I'd like to disable this behaviour, but don't know how. Sometimes I want to read slowly or just watch a flash video and the screen blanking briefly interrupts me.

My window manager is ratpoison, but as this also happens when I'm using the TTYs, I don't think that's anything to do with it.

Speek 01-04-2012 01:35 PM

If you start your window manager with startx, you can put these lines in your ~/.xinitrc file.
Code:

/usr/bin/xset -dpms
/usr/bin/xset s off

This disables DPMS (Energy Star) and the screensaver. See also man xset.


All times are GMT -5. The time now is 06:44 PM.