wmctrl fails
Running Ubuntu 20.04 (Impish) and XFCE on x86_64 Linux host, and various X servers (VcXsrv, MobaXterm) on Windows hosts. Would like to be able to use xdotool
or wmctrl
, but neither of them work.
With xdotool getactivewindow
I get
Your windowmanager claims not to support _NET_ACTIVE_WINDOW, so the attempt to query the active window aborted. xdo_get_active_window reported an error
Similarly, issuing
wmctrl -l
gives output
Cannot get client list properties.
(_NET_CLIENT_LIST or _WIN_CLIENT_LIST)
and
wmctrl -m
returns
Cannot get window manager info properties.
(_NET_SUPPORTING_WM_CHECK or _WIN_SUPPORTING_WM_CHECK)