Xdotool Type Takes Ages and Causes Entire Desktop to Freeze

why xdotool getactivewindow results in XGetWindowProperty[_NET_ACTIVE_WINDOW] failed?

For an unknown reason, I was using wayland when this issue happened...

For another unknown reason, a reboot makes me switch back to X11, and then the issue is finally gone!

how to escape characters in xdotool

Similar problem here:
http://code.google.com/p/semicomplete/issues/detail?id=13#c29

Try:

xdotool type setxkbmap de
xdotool key Return
xdotool type "sh path-to-script/deploy.sh $1"
xdotool key Return

Maybe it works better if you write a script:

#!/bin/bash
xterm -e "ssh myserver \"sh path-to-script/deploy.sh $1\"; sleep 5"

and invoke it like this:

./theAboveScript.sh &
sleep 10
xdotool type "password"
xdotool key Return


Related Topics



Leave a reply



Submit