-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Env:
xorg-xwaylandinstalled
OS: Arch Linux x86_64
Kernel: Linux 6.12.18-1-lts
DE: GNOME 47.5
WM: Mutter (Wayland)
Steps:
awatcher -vvvv --no-server- wait a bit
- switch to LibreWolf
Results:
$ /tmp/aw/aw-awatcher -vvvv --no-server
[2025-03-14 15:45:03.447739 WARN awatcher] Not sending to server 127.0.0.1:5600
[2025-03-14 15:45:03.447758 INFO awatcher] Idle timeout: 180 seconds
[2025-03-14 15:45:03.447762 INFO awatcher] Idle polling period: 5 seconds
[2025-03-14 15:45:03.447767 INFO awatcher] Window polling period: 1 seconds
[2025-03-14 15:45:03.459785 DEBUG watchers::watchers] Watcher "Wayland idle (ext-idle-notify-v1)" cannot run: the requested global was not found in the registry
[2025-03-14 15:45:03.459955 DEBUG watchers::watchers] Watcher "Wayland idle (KDE)" cannot run: the requested global was not found in the registry
[2025-03-14 15:45:03.460242 DEBUG watchers::watchers] Watcher "X11 idle (screensaver)" cannot run: Unsupported extension
[2025-03-14 15:45:03.460255 DEBUG watchers::watchers::gnome_wayland] Gnome Wayland detected
[2025-03-14 15:45:03.460571 DEBUG watchers::watchers] Watcher "Wayland window (wlr-foreign-toplevel-management-unstable-v1)" cannot run: the requested global was not found in the registry
[2025-03-14 15:45:03.461330 DEBUG watchers::watchers] Watcher "KWin window (script)" cannot run: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
[2025-03-14 15:45:03.461826 INFO watchers::watchers] Selected watcher: X11 window
[2025-03-14 15:45:03.461837 INFO watchers::watchers] Starting active window watcher
[2025-03-14 15:45:03.462038 DEBUG watchers::watchers::x11_window] Changed window app_id="org.wezfurlong.wezterm", title="...", wm_instance="org.wezfurlong.wezterm"
[2025-03-14 15:45:03.462049 TRACE watchers::report_client] Reporting app_id: org.wezfurlong.wezterm, title: ...
[2025-03-14 15:45:03.463291 INFO watchers::watchers] Selected watcher: Gnome idle (Mutter/IdleMonitor)
[2025-03-14 15:45:03.463301 INFO watchers::watchers] Starting idle watcher
[2025-03-14 15:45:03.463715 TRACE watchers::report_client] Reporting as not idle at 2025-03-14 15:45:03
[2025-03-14 15:45:04.463136 TRACE watchers::report_client] Reporting app_id: org.wezfurlong.wezterm, title: ...
[2025-03-14 15:45:05.464857 TRACE watchers::report_client] Reporting app_id: org.wezfurlong.wezterm, title: ...
[2025-03-14 15:45:06.467645 ERROR watchers::watchers] Error on active window iteration: GetPropertyReply[_NET_WM_NAME] failed
[2025-03-14 15:45:07.470315 ERROR watchers::watchers] Error on active window iteration: GetPropertyReply[_NET_WM_NAME] failed
Fix:
- chekout
- in
watchers/src/watchers.rsswap places "Gnome window (extension)" and "X11 window" to make Gnome extension a higher priority - Build
Result:
$ ./target/release/awatcher -vvvv --no-server
[2025-03-14 15:48:41.092344 WARN awatcher] Not sending to server 127.0.0.1:5600
[2025-03-14 15:48:41.092364 INFO awatcher] Idle timeout: 180 seconds
[2025-03-14 15:48:41.092369 INFO awatcher] Idle polling period: 5 seconds
[2025-03-14 15:48:41.092373 INFO awatcher] Window polling period: 1 seconds
[2025-03-14 15:48:41.103983 DEBUG watchers::watchers] Watcher "Wayland idle (ext-idle-notify-v1)" cannot run: the requested global was not found in the registry
[2025-03-14 15:48:41.104195 DEBUG watchers::watchers] Watcher "Wayland idle (KDE)" cannot run: the requested global was not found in the registry
[2025-03-14 15:48:41.104855 DEBUG watchers::watchers] Watcher "X11 idle (screensaver)" cannot run: Unsupported extension
[2025-03-14 15:48:41.104868 DEBUG watchers::watchers::gnome_wayland] Gnome Wayland detected
[2025-03-14 15:48:41.105226 DEBUG watchers::watchers] Watcher "Wayland window (wlr-foreign-toplevel-management-unstable-v1)" cannot run: the requested global was not found in the registry
[2025-03-14 15:48:41.106169 DEBUG watchers::watchers] Watcher "KWin window (script)" cannot run: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
[2025-03-14 15:48:41.106187 DEBUG watchers::watchers::gnome_wayland] Gnome Wayland detected
[2025-03-14 15:48:41.110150 INFO watchers::watchers] Selected watcher: Gnome idle (Mutter/IdleMonitor)
[2025-03-14 15:48:41.110172 INFO watchers::watchers] Starting idle watcher
[2025-03-14 15:48:41.110963 TRACE watchers::report_client] Reporting as not idle at 2025-03-14 15:48:41
[2025-03-14 15:48:41.110991 INFO watchers::watchers] Selected watcher: Gnome window (extension)
[2025-03-14 15:48:41.110998 INFO watchers::watchers] Starting active window watcher
[2025-03-14 15:48:41.111541 DEBUG watchers::watchers::gnome_window] Changed window app_id="org.wezfurlong.wezterm", title="..."
[2025-03-14 15:48:41.111552 TRACE watchers::report_client] Reporting app_id: org.wezfurlong.wezterm, title: ...
[2025-03-14 15:48:42.113646 TRACE watchers::report_client] Reporting app_id: org.wezfurlong.wezterm, title: ...
[2025-03-14 15:48:43.116289 DEBUG watchers::watchers::gnome_window] Changed window app_id="LibreWolf", title="New Issue — LibreWolf"
[2025-03-14 15:48:43.116333 TRACE watchers::report_client] Reporting app_id: LibreWolf, title: New Issue — LibreWolf
[2025-03-14 15:48:44.118947 TRACE watchers::report_client] Reporting app_id: LibreWolf, title: New Issue — LibreWolf
Let me know if you'd prefer a pull request etc
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working