[X2Go-Commits] [live-build-x2go] 88/108: changed method of background image display in mate-minidesktop mode

git-admin at x2go.org git-admin at x2go.org
Wed Mar 20 22:13:24 CET 2019


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 c5dc9ac78b2415955d1b35b480159f556e0fed13
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Sat Jan 19 15:39:36 2019 +0000

    changed method of background image display in mate-minidesktop mode
---
 config/includes.chroot/etc/X11/Xsession.d/60x11-set-xbackground | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/config/includes.chroot/etc/X11/Xsession.d/60x11-set-xbackground b/config/includes.chroot/etc/X11/Xsession.d/60x11-set-xbackground
index 829e896..f38b08d 100644
--- a/config/includes.chroot/etc/X11/Xsession.d/60x11-set-xbackground
+++ b/config/includes.chroot/etc/X11/Xsession.d/60x11-set-xbackground
@@ -31,8 +31,9 @@ if [ -n "$XROOT" ] ; then
 				# only 1 image supported (so far)
 				# no background colors supported (so far)
 				# but, in TCE-MMD, we can use SVG images in addition to PNG, JPG, etc.
-				update-alternatives --remove desktop-background /usr/share/backgrounds/x2go/x2gothinclient-minidesktop_background.svg
-				update-alternatives --install /usr/share/images/desktop-base/desktop-background desktop-background $(ls -1 $IMAGEDIR/background/*| head -1) 10
+				cat $(ls -1 $IMAGEDIR/background/*| head -1) >/etc/x2go/x2gothinclient-minidesktop_background.svg # nasty hack, but seems to work, even for non-svg images
+				# update-alternatives --remove desktop-background /usr/share/backgrounds/x2go/x2gothinclient-minidesktop_background.svg
+				# update-alternatives --install /usr/share/images/desktop-base/desktop-background desktop-background $(ls -1 $IMAGEDIR/background/*| head -1) 10
 			else
 				feh --no-fehbg --bg-$POSITION $IMAGEDIR/background/*
 			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