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 8e77317 commit eb6b188Copy full SHA for eb6b188
1 file changed
code/worker.sh
@@ -101,7 +101,10 @@ echo "==========================================="
101
firejail --noprofile --appimage ./"$FILENAME" &
102
APID=$!
103
sleep 5
104
-xpra screenshot database/$INPUTBASENAME/screenshot
+# 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
+sudo apt-get -y install graphicsmagick-imagemagick-compat
107
+import -window root database/$INPUTBASENAME/screenshot.jpg # ImageMagick
108
kill $APID && echo "SUCCESS" || exit 1
109
110
echo "==========================================="
0 commit comments