Workaround for Feisty screensaver bug

Sponsored Link
When I watch videos in full screen, I usually stop using the mouse. When I do this, I find that the screen blanks after just about exactly 20 minutes.

xorg.conf has options for DPMS control on monitors. This appears to be the one that is causing us problems.

The following procedure is the workaround for this problem.Before doing any chnages you need to take backup of xorg.conf file

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.orig

Solution1

Edit /etc/X11/xorg.conf file using the following command

sudo vi /etc/X11/xorg.conf

and add the following lines

Section "ServerFlags"
#other options can go here
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection

Save and exit the file

Solution 2

Edit /etc/X11/xorg.conf file using the following command

sudo vi /etc/X11/xorg.conf

This effectively disables power management on your monitor Settings

Section "Monitor"
#other options can go here
Option "DPMS" "false"
EndSection

Save and exit the file and restart your machine

Sponsored Link

You may also like...

6 Responses

  1. M Henri Day says:

    A workaround is fine, but the problem is just that it permanently disables power management. What would be nice to have is a button which would allow one to temporarily disable power management when, e g, watching a video that is longer than 20 minutes, after which it could be restored by clicking the button again. Any ideas on how to obtain this good cigar ?…

    Henri

  2. Ricardo says:

    I messed up!
    I used solution 1, but with gedit, and when I restarted my system Ubuntu doesn’t load graphic mode. It shows an error (no monitor found).
    I tried editing the xorg.conf from the command prompt and recovery mode (with nano), but it seems the file doesn’t exist…
    Any workaround on this??? Thanks a lot

  3. that’s the bug … thanks for sharing with us….

  4. Allo2u says:

    @ Ricardo:
    Just copy the original configuration over the edited conf by typing the following on the command-line:

    sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf

    Now reload the configuration by rebooting or just type

    sudo /etc/init.d/gdm restart

    to restart it.

    @ admin, please update ‘sudp’ with ‘sudo’ in the first command.

  5. Ricardo says:

    @Allo2u
    Thanks a lot. I had my problem solved already, but I appreciate your help. 🙂

  6. Red Oscar says:

    On my Mepis computer, I have a small eterm that I keep sticky on the desktop and toggle between the two display power management states:

    xset dpms 0 0 60

    xset -dpms

    The first command will turn off the monitor in 60 seconds. The second disables monitor poweroff. Naturally, you can set the 60 second value to anything you desire. I would think this should work in Ubuntu as well. This way you don’t have to disable dpms in your xorg.conf.

    Red

Leave a Reply

Your email address will not be published. Required fields are marked *