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.

@compositor the better approach imho is to implement it in Wayland in a way that allows a more direct path to 3rd party apps if given the permission to do so by the user. Otherwise 3rd party app developers will have to write separate support for each & every DE a user might use.

Macs have a privacy & security are for apps to be granted permissions for things like automation & file access. I don’t understand why we can’t do something similar.

@compositor are this the new Word and Excel icons?
MrCopilot (@[email protected])

You know what? I'm just gonna sit here and wait for everyone else to switch over to the Wayland Social network. #EarlyAdopters

Mastodon 🐘