[X2Go-Commits] [live-build-x2go] 20/38: added option to disable screen blanking
git-admin at x2go.org
git-admin at x2go.org
Fri Apr 28 11:56:49 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 446608b25f8bef7b71d99c5d89e0304c549f536b
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 26875f7..a697138 100755
--- a/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig
+++ b/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig
@@ -118,7 +118,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
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