[X2Go-Commits] [live-build-x2go] 23/35: added option to disable screen blanking
git-admin at x2go.org
git-admin at x2go.org
Fri Apr 28 11:34:23 CEST 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/fvwm
in repository live-build-x2go.
commit 315791b7ece60b484742f8ef12e139b248d3c4cf
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Sat Dec 31 19:27:33 2016 +0100
added option to disable screen blanking
---
config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig
index 4f1b98e..4f08c48 100755
--- a/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig
+++ b/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig
@@ -243,7 +243,13 @@ if [ -n "\$LDAP" ] ; then
else
LDAPPARAMS=""
fi
-
+
+if grep -q '\Wnoblank\W' /proc/cmdline; then
+ # Disable screensaver and DPMS Power Saving if requested
+ xset s off
+ xset -dpms
+fi
+
x2goclient --thinclient --no-session-edit --no-menu --maximize --add-to-known-hosts --haltbt \$LDAPPARAMS \$SESSIONFROM
>>>>>>> f495c9f... added support for passing of LDAP parameters
XSESSION
--
Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
More information about the x2go-commits
mailing list