[X2Go-Commits] [live-build-x2go] 16/58: added option to disable screen blanking

git-admin at x2go.org git-admin at x2go.org
Tue Feb 14 09:34:08 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/openbox
in repository live-build-x2go.

commit c769c425b38b23f75e5aaaef24fd9e15959c6d93
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
---
 .../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