This is my first day after upgrading from 17.04 to 17.10. I've noticed that xdotool is not working as it used to. For example:
xdotool type "Lorem ipsum" types nothing.
xdotool key ctrl+shift+t doesn't open a new tab in gnome-terminal.
xdotool mousemove 0 0 doesn't move the mouse.
xdotool click 1 doesn't click on the stuff under the mouse.
xdotool getactivewindow windowmove 100 100 doesn't move the active window and returns an error:
XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1)
xdo_get_active_window reported an error
What I found is still working:
xdotool search --classname Navigator windowactivate does activate the browser.
xdotool getmouselocation --shell returns info about mouse position.
xdotool selectwindow does allow me to click on a window to get its id.
I have some scripts that rely on this tool. Any suggestion how to fix this?
UPDATE: I'm using Wayland display manager. Switching to Xorg makes it work again. Is it possible to make xdotool work again while still using Wayland?