[X2Go-Commits] [live-build-x2go] 40/44: feh in screensaver mode now displays slides on all screens, not only on primary

git-admin at x2go.org git-admin at x2go.org
Mon Nov 28 19:37:17 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-heuler
in repository live-build-x2go.

commit 9b2ccfe4c838ecfd18c3e4e782dd94d739485c60
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Mon Jun 29 14:29:59 2020 +0200

    feh in screensaver mode now displays slides on all screens, not only on primary
---
 .../etc/X11/Xsession.d/60x11-spawn-configure-slideshow-screensaver   | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/config/includes.chroot/etc/X11/Xsession.d/60x11-spawn-configure-slideshow-screensaver b/config/includes.chroot/etc/X11/Xsession.d/60x11-spawn-configure-slideshow-screensaver
index a8427a1..ce71353 100644
--- a/config/includes.chroot/etc/X11/Xsession.d/60x11-spawn-configure-slideshow-screensaver
+++ b/config/includes.chroot/etc/X11/Xsession.d/60x11-spawn-configure-slideshow-screensaver
@@ -31,7 +31,10 @@ else
 			# if we have local images to show, spawn feh, if it isn't already running
                         if [ $(ls $SLIDESDIR 2>/dev/null| wc -l) -gt 0 ] ; then
                                 if ! ps -C feh >/dev/null ; then
-                                        feh -Y -x -F -D $XSAVERIMGTIME -Z -B black -q "$SLIDESDIR" &
+					SCREENPOSITIONS=$(xrandr | awk '$2 == "connected" { print $3 $4 }' | tr -dc '[0-9]x+\n')
+					for SINGLESCREENPOS in $SCREENPOSITIONS; do
+	                                        feh -Y -x -g $SINGLESCREENPOS -D $XSAVERIMGTIME -Z -B black -q "$SLIDESDIR" &
+					done
                                 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