[X2Go-Commits] [live-build-x2go] 03/09: workaround wasn't working, swapped out for now-working code

git-admin at x2go.org git-admin at x2go.org
Sat Nov 18 03:24:19 CET 2017


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

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

commit b06ceea51efcd0ed2267de48513b4ad9ef914bb1
Author: Stefan Baur <kontakt at baur-itcs.de>
Date:   Sun Nov 5 16:25:55 2017 +0100

    workaround wasn't working, swapped out for now-working code
---
 config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
index 6e08b09..fd82f7a 100755
--- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
+++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
@@ -222,8 +222,11 @@ if [ -n "\$THROTTLEVALUES" ]; then
 fi
 
 # workaround for NX "magic pixel" being active in --thinclient mode
-while true ; do
-        ps -C xdotool >/dev/null || xdotool search . behave %@ blur windowmap ;
+while ! ps -C xdotool >/dev/null ; do
+        while [ $(xdotool search --name . | wc -l) -lt 3 ] ; do
+                sleep 1
+        done ;
+        xdotool search . behave %@ blur windowmap
 done &
 
 eval \$THROTTLINGCOMMAND x2goclient --thinclient --no-session-edit --no-menu --maximize --add-to-known-hosts --haltbt --read-exports-from=/home/user/export \$LDAPPARAMS \$SESSIONFROM \$BACKGROUND \$BRANDING \$STARTSESSION

--
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