[X2Go-Commits] [live-build-x2go] 05/167: OpenBox Keybindings need to be disabled entirely, they interfere with Xephyr and the like.

git-admin at x2go.org git-admin at x2go.org
Sat Nov 18 00:32:32 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 bcd4a8de7e551765abf67d3e52c094d11b57ad87
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Sun Feb 26 18:02:54 2017 +0100

    OpenBox Keybindings need to be disabled entirely, they interfere with Xephyr and the like.
---
 config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig
index 93f45a7..981e002 100755
--- a/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig
+++ b/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig
@@ -10,10 +10,9 @@ echo -n " x2go-thinclientconfig"
 # using xmlstarlet would mean wasting yet another Megabyte of space ...
 # disable virtual desktops
 sed -i -e 's#<number>4</number>#<number>1</number>#' /etc/xdg/openbox/rc.xml
-# disable OpenBox context menu (would be accessible in xinerama)
-sed -i -e '\#<action name="ShowMenu"><menu>[a-z-]*-menu</menu></action>#d' /etc/xdg/openbox/rc.xml
-# disable OpenBox Alt-F4
-sed -i -e '/<keybind key="A-F4">/,+2d' /etc/xdg/openbox/rc.xml
+# disable OpenBox keyboard bindings
+# this also disables the context menu (would be accessible in xinerama) and things like Alt-F4 for X2GoClient, Xephyr, etc.
+sed -i -e '/<keyboard>/,/<\/keyboard>/{//!d}' /etc/xdg/openbox/rc.xml
 # make sure OpenBox maximizes X2GoClient on launch and hides window decorations
 sed -i -e '\#<applications>#a<application title="X2Go Client" type="normal">' -e '\#<applications>#a<decor>no</decor>' -e '\#<applications>#a</application>' /etc/xdg/openbox/rc.xml
 

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