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

Request for Hyprland Compatibility - Idle.xml Protocol Present #34

Open
ibrahimkettaneh opened this issue Jan 8, 2024 · 4 comments
Open

Comments

@ibrahimkettaneh
Copy link

ibrahimkettaneh commented Jan 8, 2024

Dear Development Team,

Firstly, I would like to express my gratitude for your work on the time tracking application. The client-server model, along with the ability to track browsing activity and file edits, is truly commendable.

However, I am encountering an issue with the standalone watcher for Wayland when using it on the Hyprland compositor. Despite Hyprland implementing the idle.xml protocol (as seen here: https://github.com/hyprwm/Hyprland/blob/main/protocols/idle.xml), the watcher does not seem to function as expected.

Here is the error message I receive:

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

I would greatly appreciate any assistance or guidance you could provide to resolve this issue. Your continued efforts and contributions to this project are highly valued.

Thank you in advance for your time and support.

@ErikBjare
Copy link
Member

ErikBjare commented Jan 8, 2024

Not sure why this doesn't work. Looks like it's using the Kwin idle protocol, which should be supported.

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

@ibrahimkettaneh
Copy link
Author

I greatly appreciate your assistance, your suggestion has successfully resolved the issue! Your contribution and work are highly valued. If there's ever a need for testing support, I'd be more than happy to help.

At this point, my requirements have been fulfilled. If you choose not to continue with hyprland support at this time, feel free to close this issue. Alternatively, if there's any way I could assist with testing, I'm open to keeping this issue active. Thank you! 😁

@sophronesis
Copy link

Same exact error. Is there is a way around this error?

@sophronesis
Copy link

https://github.com/2e3s/awatcher fixes this somewhat

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

3 participants