Programmatically arrange windows via script


is there an API/interface in Gnome to programmatically arrange a window with a certain geometry and size and then take a screenshot, under Wayland?

I’d like to automatically take screenshots of certain windows for QA testing.

If Gnome didn’t have this is there a feasible alternative? Perhaps done kind of minimal nested Wayland compositor?


There is no standard API, but you can create a shell extension to do this.

Well, I must admit that I had hoped for a simpler way :grimacing: Gnome Shell’s internal APIs aren’t exactly well documented :disappointed:

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.