[X2Go-Commits] [live-build-x2go] 40/60: added background support for MMD
git-admin at x2go.org
git-admin at x2go.org
Mon Nov 28 19:43:53 CET 2022
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/mate-minidesktop-buster
in repository live-build-x2go.
commit 76fe0cb56fa10ea1ce7efede248cfc0f699fbac9
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Thu Jun 25 02:49:45 2020 +0200
added background support for MMD
---
config/includes.chroot/etc/network/if-up.d/0420-getbg | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/config/includes.chroot/etc/network/if-up.d/0420-getbg b/config/includes.chroot/etc/network/if-up.d/0420-getbg
index 323c091..b37c251 100755
--- a/config/includes.chroot/etc/network/if-up.d/0420-getbg
+++ b/config/includes.chroot/etc/network/if-up.d/0420-getbg
@@ -41,6 +41,12 @@ if [ -n "$BGURL" ] ; then
echo -en "\n$(date +'%F | %T | ')'$0': background SVG download complete." | tee -a /dev/tty8
if [ -s ${BGDESTINATION}.tmp ] ; then
mv ${BGDESTINATION}.tmp $BGDESTINATION
+ ln $BGDESTINATION /etc/x2go/x2gothinclient_bg.svg
+ if [ -s /etc/x2go/x2gothinclient-minidesktop_start ] ; then
+ if ! grep -q -- "--background" /etc/x2go/x2gothinclient-minidesktop_start ; then
+ sed -e '\#^/usr/lib/x2goclient#a \\t\t\t --background="/etc/x2go/x2gothinclient_bg.svg" \\' -i /etc/x2go/x2gothinclient-minidesktop_start
+ fi
+ fi
fi
) &
fi
--
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