diff options
author | Simon Rettberg | 2019-11-13 13:56:28 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-11-13 13:56:28 +0100 |
commit | 0955b965c745c798e0e3e903d52a7376cfa30577 (patch) | |
tree | d020cf947071362669c66314855e34819141b0d0 | |
parent | [kiosk-chromium] Simplify json generation, add sanity check (diff) | |
download | mltk-0955b965c745c798e0e3e903d52a7376cfa30577.tar.gz mltk-0955b965c745c798e0e3e903d52a7376cfa30577.tar.xz mltk-0955b965c745c798e0e3e903d52a7376cfa30577.zip |
[pvs2] Disable idle-daemon saver/dpms for dedicated manager
-rwxr-xr-x | core/modules/pvs2/data/opt/openslx/scripts/setup-pvsmgr | 7 |
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 |