I see what your meaning now, thanks for making it clear. I haven't used Arcan in a while, but from what I remember from my (admittedly little) use and architecture reading, it might be in the best spot to get what you want. Lua bindings are pervasive and should in theory get close to what you want, but more research and work is needed to realise that.
But yes, I really feel bad that after 16(!) years, wayland is still a shitshow in all the cases of not drawing windows on the display, and I say this as someone who has been using Wayland daily for half a decade now, and lived through things being even shittier. I just silently keep wishing Arcan gets there as a universal drop-in replacement.
Re:Arcan 0.7 – The All Tomato
by throwaway6566 on Friday December 27, 2024 @02:03PM
(#42525014)
I can't find the link now, but there are two ways (I know of) for getting the xdotool way to work. One way is the Durden 'control' socket and a standalone tool 'arcan-cfgfs /path/to/.arcan/appl-out/durden/control /my/mountpoint' that is a FUSE driver. You can mount the desktop as a file system and automate everything like that: echo "typethis" > /my/mountpoint/windows/all/text/input".
Another is to expose that more generally with hookscripts (force-injected Lua scripts that override or add features to the WM you use, arcan -Hhooks/something.lua).
Of course, Arcan looks good enough, and actually exposes enough API surface, that if it's not compatible with my existing tools then yes I probably will write whatever I need over its native APIs and just run with that. But it'd be nice if I didn't even need to do that:)