I was using xdotool a few months ago and everything worked perfectly. I tried the same commands today and it doesn’t work anymore.
When I try xdotool getmouselocation
, I always get the same answer: x:1435 y:800 screen:0 window:8388629
, wherever my mouse is located. Also, when I try xdotool mousemove 100 100
, for example, my mouse doesn’t move. However, it seems like a ‘virtual mouse’ has moved, since now, when I try xdotool getmouselocation
, I always get x:100 y:100 screen:0 window:8388629
.
I have the same issue with the keyboard commands, for example, xdotool key alt+Tab
won’t switch windows.
I have no idea of anything special I could have changed on my system since these commands were working.
Noob Hasse is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.