From 0979f82c5af78bf0ef099ffaf4cbeceb47a6f8fe Mon Sep 17 00:00:00 2001 From: probonopd Date: Wed, 9 Aug 2017 15:56:33 +0200 Subject: [PATCH] Update worker.sh --- code/worker.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/code/worker.sh b/code/worker.sh index ed73dffa..5f1936e4 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -126,6 +126,7 @@ if [ "$TERMINAL" == "false" ] ; then # Getting the active window seems to require a window manager sudo apt-get -y install metacity metacity & + sleep 5 # We could simulate X11 keyboard/mouse input with xdotool here if needed xdotool getactivewindow key alt+f4