[X2Go-Commits] [live-build-x2go] 49/59: 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:34:59 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 a7448e7f4071c527c8c85591c3e60e9a7c6d0c0e
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 4f5d8c5..08119ef 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
@@ -32,7 +32,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