We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3df95e commit a520b15Copy full SHA for a520b15
1 file changed
code/worker.sh
@@ -103,7 +103,9 @@ APID=$!
103
sleep 5
104
# xpra screenshot database/$INPUTBASENAME/screenshot
105
# screenshot is empty and has not been saved (maybe there are no windows or they are not currently shown)
106
-import -window root database/$INPUTBASENAME/screenshot.jpg # ImageMagick
+# import -window root database/$INPUTBASENAME/screenshot.jpg # ImageMagick
107
+sudo apt-get -y install scrot
108
+scrot -u -b database/$INPUTBASENAME/screenshot.jpg
109
kill $APID && echo "SUCCESS" || exit 1
110
111
echo "==========================================="
0 commit comments