The correct choice is obvious.

@compositor definitely X till getting the name of the active window in focus can be obtained without going through a bazillion DE’s - if they support that at all imo. I’d think that if we cared about accessibility at all this would have been added already.

Besides being non-functional in many regards Wayland is great & only half as old as X at this point.

@benreaves active window?

@compositor yes - getting the active window or class name is extremely trivial w/ X11 & apps &/or scripts written to help w/ all sorts of use cases & accessibility needs sometimes need that awareness.

I know the response has been for DEs to all individually re-implement this feature however they see fit - but that’s a lot of fragmentation & I’ve yet to see gnome really solidify how they’ll expose it long term.

https://unix.stackexchange.com/questions/703084/how-to-get-current-window-class-name-from-script

How to get current window class name from script?

In my script I want to do different things depending on current active application. How can I get currently active window class name? There is very similar question: xdotool: How to test if current

Unix & Linux Stack Exchange

@benreaves Wayland.social is not associated with the Wayland project by freedesktop.org; any double entendres are purely coincidental.

Perhaps somebody who sees this can help you, though :)

@compositor well that’s disappointing as shaming them for ignoring accessibility concerns in the issue tickets hasn’t been effective either :p.