summaryrefslogtreecommitdiffstats
path: root/core/modules/pvs2
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/pvs2')
-rwxr-xr-xcore/modules/pvs2/data/opt/openslx/scripts/setup-pvsmgr7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/modules/pvs2/data/opt/openslx/scripts/setup-pvsmgr b/core/modules/pvs2/data/opt/openslx/scripts/setup-pvsmgr
index 5531518a..2a8b1a88 100755
--- a/core/modules/pvs2/data/opt/openslx/scripts/setup-pvsmgr
+++ b/core/modules/pvs2/data/opt/openslx/scripts/setup-pvsmgr
@@ -10,6 +10,13 @@ if [ -n "$SLX_PVS_CONFIG_URL" ]; then
[ -s "${DST}" ] && CONF="--config=${DST}"
fi
+# In case nobody else manages this
+xset +dpms
+xset dpms 120 120 120
+# In case idle-daemon manages saver/dpms
+[ -z "$HOME" ] && HOME="$( getent passwd "$(id -u)" | awk -F: '{print $6}' )"
+touch "$HOME/.no-saver"
+
openbox &
timediff=5