LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Monitor Shuts off (https://www.linuxquestions.org/questions/linux-newbie-8/monitor-shuts-off-252267/)

Train2005 11-07-2004 10:01 PM

Monitor Shuts off
 
Hi, I'm New to linux, i'm using debian............ and if i leave my computer idle for like 5 minutes the monitor shuts off anyone know how to disable this?

Train2005 11-07-2004 10:08 PM

can anyone help please

astrowill 11-07-2004 10:12 PM

Edit your XF86Config file found in /etc/X11. (Type 'emacs /etc/X11/XF86Config', or possibly XF86Config-4.) In the Monitor section there should be something with a value of 5 minutes. If you don't want it to shut off at all, put a # at the beginning of that line.

Train2005 11-07-2004 10:32 PM

i dont see an option of 5 minutes anywhere

Train2005 11-07-2004 10:39 PM

i searched goodle and it was dpms that was doing it so i typed xset -dpms in terminal is that right

astrowill 11-07-2004 10:43 PM

Ha, I never knew you could do it that way. In case you want to take advantage of DPMS later on, reenable it via xset and then look at XF86Config for:

Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "5"
Option "SuspendTime" "0"
Option "OffTime" "20"
EndSection


Have fun with it.

Train2005 11-07-2004 10:56 PM

how come i can't edit the xconfig file when i run it ? - how do i edit it

gaviidae 11-07-2004 11:06 PM

to edit the config
Look in /etc/x11 to see what version of x...
type vi (name of x file)
or emacs if you like that.
if you are in insert mode in vi (hit letter i), you can change anything typed in the file like a text file.
If using vi, save changes by typing :wq
If you think you might screw things up and can't remember how to get back, first make a copy of the x file and call it something like xconfige.old or whatever. then play with the original.

Or are you trying this and it won't let you while x is running (why?)


All times are GMT -5. The time now is 12:48 PM.