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 b5b85fa509c7f511f42ab80e15762d9f6bd8e0e9 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Mon Jun 29 14:52:27 2020 +0200 added support for x2go-kdrive in screensaver mechanism --- .../X11/Xsession.d/60x11-spawn-configure-slideshow-screensaver | 9 +++++++++ 1 file changed, 9 insertions(+) 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 ce71353..50d2842 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 @@ -61,6 +61,15 @@ else xdotool sleep 0.1 mousemove_relative -- 11 0 sleep 0.1 mousemove_relative -- -11 0 ## Option: toggle NumLock instead # xdotool sleep 0.1 key Num_Lock sleep 0.1 key Num_Lock + elif ps -C x2gokdriveclient >/dev/null ; then # do we have an x2gokdriveclient task running? + # if so, keep kicking it into the foreground until it has focus + while [ "$(xdotool getwindowfocus)" != "$(xdotool search --classname "x2gokdriveclient")" ] ; do + xdotool search --classname "x2gokdriveclient" windowmap --sync windowfocus --sync + done + # wiggle mouse by 11 px to trigger remote screensaver password prompt (10 px is xscreensaver's default hysteresis) + xdotool sleep 0.1 mousemove_relative -- 11 0 sleep 0.1 mousemove_relative -- -11 0 + ## Option: toggle NumLock instead + # xdotool sleep 0.1 key Num_Lock sleep 0.1 key Num_Lock elif ps -C Xephyr >/dev/null ; then # do we have a Xephyr task running? # if so, keep kicking it into the foreground until it has focus while [ "$(xdotool getwindowfocus)" != "$(xdotool search --classname "Xephyr")" ] ; do -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git