How to disable the monitor sleep mode

A week ago I changed the linux distribution from Ubuntu to Slackware. I also changed my windowmanager from Gnome 3 to XFCE. But whatever I set in the power manager XFCE puts the monitor to sleep every 10 minutes. Here is a fix that worked for me.

It seems to be that the sceensaver is the problem. Some people installed xscreensaver to set the sleep- and suspend-time, but I don’t want to install a screensaver. But you can set the BlankTime to 0 with the following command for the current session:

sudo xset s 0 0

The option “s” is to set the screensaver settings and the two zeros are standby-time and suspend-time respectively. If you want to set the BlankTime permanently, you can add the following lines to the /etc/X11/xorg.conf.

Section "ServerFlags"
    Option "BlankTime" "0"

That’s it.


Posted on October 5, 2012, in Command-Line, Configure, Troubleshooting and tagged , , , , , , , , . Bookmark the permalink. 1 Comment.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: