Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is Wayland compatibility in the plans? #9

Open
NinjaTurtle007 opened this issue Aug 5, 2018 · 3 comments
Open

Is Wayland compatibility in the plans? #9

NinjaTurtle007 opened this issue Aug 5, 2018 · 3 comments

Comments

@NinjaTurtle007
Copy link

Are there plans to make this wonderful extension work on Wayland or are there any alternatives for it?

@johannesjo
Copy link
Owner

johannesjo commented Aug 5, 2018

Theoretically yes. But unfortunately this either is not possible to achieve atm due to Wayland's limitations or I'm too stupid to find out how. I dug around the docs for quite a while, but was unable to find any angle how to tackle this problem and gave up. When Ubuntu finally moves to Wayland, I probably give it another go but until then the tool will only work with XWayland applications. I'm glad for any help and pull requests are very welcome of course.

@damianmoore
Copy link

damianmoore commented Nov 15, 2022

Another route to achieving this, rather than communicating with Wayland, could be to connect to 'org.gnome.Shell' via DBus and listen to events happening there. I'm trying something similar but haven't had much luck yet.

@damianmoore
Copy link

I found this PR for a Python-based activity monitor quite interesting: https://github.com/ActivityWatch/aw-watcher-window/pull/46/files

It appears once you have a Gnome Shell GObject (might be wrong terminology) you can get it to evaluate JS for you that can introspect the functions/data structures of Gnome Shell itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants