[X2Go-Commits] [live-build-x2go] 20/28: added workaround for NX "magic pixel" being active in --thinclient mode

git-admin at x2go.org git-admin at x2go.org
Sat Nov 18 02:33:07 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 7c6088f7b772bf9ad2b0b19e160caaa3674fe06b
Author: Stefan Baur <kontakt at baur-itcs.de>
Date:   Sat Nov 4 23:54:15 2017 +0100

    added workaround for NX "magic pixel" being active in --thinclient mode
---
 config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 7 ++-----
 config/package-lists/magic-pixel-workaround.chroot                | 3 +++
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
index 841ff9a..cb95953 100755
--- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
+++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
@@ -219,11 +219,8 @@ if [ -n "\$THROTTLEVALUES" ]; then
 fi
 
 # workaround for NX "magic pixel" being active in --thinclient mode
-while ! ps -C xdotool >/dev/null ; do
-        while [ \$(xdotool search --name . | wc -l) -lt 3 ] ; do
-                sleep 1
-        done ;
-        xdotool search . behave %@ blur windowmap
+while true ; do
+        ps -C xdotool >/dev/null || 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
diff --git a/config/package-lists/magic-pixel-workaround.chroot b/config/package-lists/magic-pixel-workaround.chroot
new file mode 100644
index 0000000..9c0cb9d
--- /dev/null
+++ b/config/package-lists/magic-pixel-workaround.chroot
@@ -0,0 +1,3 @@
+libxdo3 
+libxkbcommon0
+xdotool

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