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

Error launching under the latest version of Sway: dropped KDE idle protocol in favor of standard idle-notify #33

Open
jmarca opened this issue Jan 4, 2024 · 1 comment

Comments

@jmarca
Copy link

jmarca commented Jan 4, 2024

I recently upgraded sway to use the git version, not the release version (from last February).

activitywatch runs fine, but this wayland window watcher does not.

I get the following error:

aw-watcher-window-wayland
### Setting up display
### Fetching wayland globals
### Setting up toplevel manager
### Setting up idle timeout
thread 'main' panicked at 'Wayland session does not expose a Idle object, this window manager is most likely not supported: Missing', src/idle.rs:79:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

After poking at this and looking at the commit logs of Sway, perhaps this commit in the sway project is the culprit?

commit 7cf4e1d5c68d764037f78cbffb167a4cc763c6c1
Author: Simon Ser <[email protected]>
Date:   Mon Jun 19 21:22:23 2023 +0200

    Drop support for KDE's idle protocol

    We support the standard idle-notify protocol since Sway 1.8.

If this is unrelated, I'd be grateful for pointers to how to fix this.

@ErikBjare ErikBjare changed the title Error launching under the latest version of Sway Error launching under the latest version of Sway: dropped KDE idle protocol in favor of standard idle-notify Jan 8, 2024
@ErikBjare
Copy link
Member

Thanks for reporting!

Looks like we need to implement idle-notify support @johan-bjareholt

If you don't want to wait: awatcher supports both Kwin Idle and idle-notify: https://github.com/2e3s/awatcher

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

No branches or pull requests

2 participants