[X2Go-Commits] [live-build-x2go] 11/12: openbox configuration refined and documented

git-admin at x2go.org git-admin at x2go.org
Fri Dec 23 12:00:49 CET 2016


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 df4ed87719122a833c9a613f082a053bc505fe38
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Thu Dec 22 15:56:38 2016 +0100

    openbox configuration refined and documented
---
 .../lib/live/config/2800-x2go-thinclientconfig     |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig
index 0c6a163..26875f7 100755
--- a/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig
+++ b/config/includes.chroot/lib/live/config/2800-x2go-thinclientconfig
@@ -7,6 +7,12 @@ X2GoThinClientConfig ()
 #
 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
+# 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
 
 cat >/home/user/.xsession <<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