Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Lenovo Thinkpad T60 running 12.04.4 LTS, Precise Pangolin; the desktop is KDE. Starting today, the display goes blank after 33 seconds of inactivity. Clicking or even moving the mouse, or pressing a key, resets the 33-second timer.

I have checked the following settings:

  • System Settings / Screen Saver Settings (screenshot): These are turned off. Turning them on and setting an explicit timeout of 9 minutes did not change the behavior.
  • System Settings / Energy Saving Settings (screenshot): These are turned off. Turning on "Dim Display and setting to 10 minutes did not change the behavior.
  • X server settings (xset) : The xset q command reported:

    Screen Saver:
      prefer blanking:  yes    allow exposures:  yes
      timeout:  0    cycle:  600

    The timeout: 0 indicates that the X screen saver feature is disabled. Explicitly disabling it with xset s off did not change the behavior.

How do I stop this annoying screen blanking?

share|improve this question

The problem was in the DPMS settings. These are settable in two places:

  • Under System Settings / Configure Energy Saving Settings / Screen Energy Saving. (Screenshot). Enabling this and then disabling it again fixed the problem.

  • Under the X server DPMS settings, accessible through xset. The output of xset q included:

    DPMS (Energy Star):
      Standby: 33    Suspend: 49    Off: 66
      DPMS is Enabled
      Monitor is On

which explains the 33 seconds. Enabling and disabling “Screen Energy Saving” as described above reset this to:

DPMS (Energy Star):
  Standby: 21600    Suspend: 32400    Off: 43200
  DPMS is Disabled

presumably the command xset -dpms or xset dpms off would have fixed the problem in the same way.

share|improve this answer

While viewing videos on my htpc, the screen would blank after 10 minutes with no keyboard/mouse input. Obviously not desirable behaviour for an htpc. Turning off screensavers and power saving did not have any effect. Eventually, my web searchs led me to believe this was caused by the xserver. I tested this by running the following:

xset s off && xset -dpms

in a terminal at the beginning of a session and confirmed that this did eliminate the undesired screen blanking. Running "xset -q" in the terminal confirms DPMS (Energy Star) was disabled.

In order to avoid having to open a terminal and run this command at the start of each session, I set this to run at system boot. The screen blanking was back and "xset -q" showed DPMS enabled. Further searching revealed this behaviour is initiated at login and overrides the command run at boot. To run this automatically, just add the lines below to the end of the .profile in your Home folder.

Turn off screen blanking

xset s off && xset -dpms

If you don't see .profile, open your Home folder in your file browser, click on 'View' and select 'Show Hidden Files'. Then just right click on .profile, select 'Open with text editor', copy and paste the above on a blank line at the end of the file and save the modified file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.