Sponsored Link
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
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
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
that’s the bug … thanks for sharing with us….
@ 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.
@Allo2u
Thanks a lot. I had my problem solved already, but I appreciate your help. 🙂
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