Artificial intelligent assistant

How to control X11 viewport from an application Suppose we have an X11 display configured in panning mode. E.g. xrandr --output LVDS1 --mode 1920x1080 --panning 4096x4096 Is there a way to move the visible viewport from a user application (ideally in a way that would handle several viewport updates per second).

man xdotool says it can get/set the viewport:


get_desktop_viewport [--shell]
Report the current viewport's position. If --shell is given, the
output is friendly to shell eval.

set_desktop_viewport x y
some windowmangers only obey requests that align to workspace boundaries

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 7ffb4e50bc065d2417cf0da5bdd47a93