[X2Go-Commits] [live-build-x2go] 13/26: added code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black)

git-admin at x2go.org git-admin at x2go.org
Wed Jan 24 18:31:49 CET 2018


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

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

commit 36c28353a4abcd05e87da7a33f1028c2344ccdfd
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Mon Jan 15 02:44:12 2018 +0100

    added code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black)
---
 config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
index 2e1e6ba..d851f93 100755
--- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
+++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
@@ -101,6 +101,11 @@ fi
 openbox &
 echo -en "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." | tee -a /dev/tty8
 
+if grep -q '\W*blankdpmsfix\W*' /proc/cmdline; then
+	xset dpms force standby
+	xset dpms force on
+fi
+
 # set screen background to X2Go default blue on all detected screens
 xsetroot -solid "#246ed8"
 
@@ -231,7 +236,7 @@ if [ -n "\$BLANKINGTIME" ]; then
 		# Disable screensaver and DPMS Power Saving if requested
 		xset s off
 		if grep -q '\W*nodpms\W*' /proc/cmdline; then
-			xset -dpms
+			xset dpms 0 0 0 # lasts over force commands, unlike -dpms
 		fi
 	else
 		xset s on

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list