How can I ensure that my screen won't go "black" after given time?
Have a look at GNOME's power mgmt settings,
gnome-power-preferences, you might stumble upon something similar to this
(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
I've racked my brain about this for a while. I've found the solution that I keep forgetting, so I'm gonna post it.
/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
xterm didn't work for me.
There's a distinction between power management (ACPI/DPMS) and simply blanking the screen. I would assume Scientific Linux has all the same components as other EL6 distributions. Here's what I needed in CentOS and RHEL 6.9:
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool --set /apps/gnome-screensaver/idle_activation_enabled false
It's the Gnome idle activation "feature" that blanks the screen. Of course, there are other ways of disabling this setting such as the Gnome Configuration Editor (if installed):
- Select Applications -> System Tools -> Configuration Editor
- When open, select apps -> gnome-screensaver
- Then on right panel uncheck idle_activation_enabled parameter