Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How can I ensure that my screen won't go "black" after given time?

share|improve this question
    
KDE, Gnome or Terminal? Please post your X11 configuration. –  Nils Mar 10 '12 at 21:01
    
sorry, GNOME/GUI. How can I post my X11 config? –  LanceBaynes Mar 10 '12 at 21:04
    
I think that place is pretty generic. /etc/X11/xorg.conf as far as I remember. Just post it into your question, then format it with blockquote. –  Nils Mar 10 '12 at 21:21
    
still can't find that file. :) even the find command can't find it. –  LanceBaynes Mar 11 '12 at 9:46
    
/etc/X11/xorg.conf is (mostly) optional nowadays, I suppose this is a GNOME power management issue. –  sr_ Mar 11 '12 at 9:51
show 1 more comment

3 Answers

up vote 2 down vote accepted

If you want to set this system-wide (and desktop-manager agnostic), you'll want to create an entry in /etc/X11/xorg.conf.d/ for your monitor, and set: Option "DPMS" off. Per-user, you could put an xset dpms off in the system startup.

share|improve this answer
add comment

Have a look at GNOME's power mgmt settings, gnome-power-preferences, you might stumble upon something similar to this

Power Management Preferences

(The GNOME Power management manual is most helpful, also includes the needed gconf keys to maybe automate the process.)

...but increasing the timeout might be enough already?

Also have a look at this FAQ item, *How do I make my application stop the computer auto-suspending? hinting at the use of the DBus interface of gnome-session to inhibit screen blanking...this blog entry is a decent write-up, just comment if you need more info on this :)

share|improve this answer
add comment

I've racked my brain about this for a while. I've found the solution the I keep forgetting, so I'm gonna post it.

In your /etc/X11/xorg.conf file, add this section

Section "ServerFlags"
    Option    "blank time" "0"
    Option    "standby time" "0"
    Option    "suspend time" "0"
    Option    "off time" "0"
EndSection

All the other suggestions like xset and xterm don't work.

share|improve this answer
add comment

Your Answer

 
discard

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.