From d5a95914f0391c51efcdd7d235452f55037df011 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Fri, 27 Sep 2024 22:52:29 -0500 Subject: set display even more explicitly --- test | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'test') diff --git a/test b/test index 40b92b6..a385cd2 100755 --- a/test +++ b/test @@ -5,23 +5,23 @@ set DISPLAY=:99 sleep 5 msiexec /i lua4win.msi & sleep 5 -xwd -root | magick xwd:- png:/root/1.png -xdotool mousemove --sync 573 618 +DISPLAY=:99 xwd -root | magick xwd:- png:/root/1.png +DISPLAY=:99 xdotool mousemove --sync 573 618 sleep 1 -xwd -root | magick xwd:- png:/root/2.png -xdotool xdotool click 1 +DISPLAY=:99 xwd -root | magick xwd:- png:/root/2.png +DISPLAY=:99 xdotool xdotool click 1 sleep 1 -xwd -root | magick xwd:- png:/root/3.png -xdotool mousemove --sync 725 666 +DISPLAY=:99 xwd -root | magick xwd:- png:/root/3.png +DISPLAY=:99 xdotool mousemove --sync 725 666 sleep 1 -xwd -root | magick xwd:- png:/root/4.png -xdotool xdotool click 1 +DISPLAY=:99 xwd -root | magick xwd:- png:/root/4.png +DISPLAY=:99 xdotool xdotool click 1 sleep 1 -xwd -root | magick xwd:- png:/root/5.png -xdotool mousemove --sync 743 666 +DISPLAY=:99 xwd -root | magick xwd:- png:/root/5.png +DISPLAY=:99 xdotool mousemove --sync 743 666 sleep 1 -xwd -root | magick xwd:- png:/root/6.png -xdotool xdotool click 1 +DISPLAY=:99 xwd -root | magick xwd:- png:/root/6.png +DISPLAY=:99 xdotool xdotool click 1 sleep 1 -xwd -root | magick xwd:- png:/root/7.png +DISPLAY=:99 xwd -root | magick xwd:- png:/root/7.png -- cgit v1.2.3-55-g6feb