On 04/07/2017 07:38 AM, Dennis Gallien wrote:
On Friday, April 7, 2017 1:43:55 PM EDT stakanov wrote: In 42.2 is there no way to simply prevent the session from timing out and requiring another login? My machine runs 24x7 and I don't want the session to time out at all.
Create a file with the following contents: #!/bin/sh xset dpms 0 0 0 xset -dpms xset s noblank Give it a meaningfull name, such as noblankscreen & save it in /bin Set the permissions rwxr-xr-x Set it as a login script for each user you want to disable screen blanking on. Log out, log back in, or reboot & log in. Check to see that it all worked by opening a terminal and typing: xset q The output should include something similar to the following lines: Screen Saver: prefer blanking: no allow exposures: yes DPMS (Energy Star): Standby: 0 Suspend: 0 Off: 0 DPMS is Disabled If you hibernate, lock the screen or launch a screensaver, this will reset. So, when you have done one of those three actions, drop to a console and issue the command "noblankscreen", or whatever you named your file. -- -Gerry Makaro aka Fraser_Bell on the forums, IRC, and mail at openSUSE.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org