[X2Go-Commits] [live-build-x2go] 27/59: instead of trying to match the window title, match the executable name -> works across all l10n's.
git-admin at x2go.org
git-admin at x2go.org
Mon Nov 28 19:34:53 CET 2022
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/openbox-magic-pixel-workaround-buster
in repository live-build-x2go.
commit 64c46c68cc46546b56fd15000998b1913f6287e8
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Fri Jun 19 19:53:47 2020 +0000
instead of trying to match the window title, match the executable name
-> works across all l10n's.
---
config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 3 +--
1 file changed, 1 insertion(+), 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 1fc442b..87860ee 100755
--- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
+++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
@@ -15,8 +15,7 @@ sed -i -e 's#<number>4</number>#<number>1</number>#' /etc/xdg/openbox/rc.xml
sed -i -e '/<keyboard>/,/<\/keyboard>/{//!d}' /etc/xdg/openbox/rc.xml
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
-sed -i -e '\#<applications>#a<application title="X2GoClient" type="normal">' -e '\#<applications>#a<decor>no</decor>' -e '\#<applications>#a</application>' /etc/xdg/openbox/rc.xml
+sed -i -e '\#<applications>#a<application name="x2goclient" type="normal">' -e '\#<applications>#a<decor>no</decor>' -e '\#<applications>#a</application>' /etc/xdg/openbox/rc.xml
#make sure OpenBox' ToggleMaximize is disabled, or else clicking the top row of pixels will un-maximize X2GoClient
sed -i -e '/ToggleMaximize/d' /etc/xdg/openbox/rc.xml
--
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