Skip to content

Comments

fix: prioritize GNOME/KDE watchers and add environment check for COSMIC#68

Open
abgironne wants to merge 1 commit into2e3s:mainfrom
abgironne:gnome-watcher-priority
Open

fix: prioritize GNOME/KDE watchers and add environment check for COSMIC#68
abgironne wants to merge 1 commit into2e3s:mainfrom
abgironne:gnome-watcher-priority

Conversation

@abgironne
Copy link

I'm on Ubuntu 25.10 with wayland and I kept having this error:

[2026-02-18 18:46:02.979828 DEBUG watchers::watchers] Watcher "Wayland idle (ext-idle-notify-v1)" cannot run: the requested global was not found in the registry
[2026-02-18 18:46:02.979998 DEBUG watchers::watchers] Watcher "Wayland idle (KDE)" cannot run: the requested global was not found in the registry
[2026-02-18 18:46:02.980326 DEBUG watchers::watchers] Watcher "X11 idle (screensaver)" cannot run: Unsupported extension
[2026-02-18 18:46:02.980333 DEBUG watchers::watchers::gnome_wayland] Gnome Wayland detected
[2026-02-18 18:46:02.980566 DEBUG watchers::watchers] Watcher "Wayland window (wlr-foreign-toplevel-management-unstable-v1)" cannot run: the requested global was not found in the registry
[2026-02-18 18:46:02.980598 INFO watchers::watchers] Selected watcher: Cosmic Wayland window (cosmic-toplevel-info-unstable-v1)
[2026-02-18 18:46:02.980602 INFO watchers::watchers] Starting active window watcher
[2026-02-18 18:46:02.980905 ERROR watchers::watchers::wl_cosmic_toplevel_management] Wayland thread failed: Required COSMIC toplevel protocols not found

I have no merit in this as Gemini proposed this fix to reorder the watcher priority to make it work with gnome, wayland and the focused window dbus extension. Someone on COSMIC might have to make sure it still works.

I've decided to push this fix as it might help someone else having the same problem. Now the application works number one for me.

@2e3s
Copy link
Owner

2e3s commented Feb 23, 2026

Thank you for your suggestion! I'll test it in VMs and roll out.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants