-
Notifications
You must be signed in to change notification settings - Fork 204
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
Workrave fails to track keyboard and mouse activity in Gnome Shell on Wayland #212
Comments
@brianfcoleman did you enable the GNOME extension? |
The Workrave extension is failing to load for the following reason
|
Workrave should support activity monitoring in Gnome Shell on Wayland. Do you still have this problem with a more recent Gnome Shell / Worrkrave? If you still encounter this issue in Workrave 1.10.45 please try the following: |
I'm encountering the same problem under Plasma (KDE) Wayland, Workrave version 1.10.44, on Fedora 34. I did have to set the env var |
there is still the same problem with kde plasma under wayland. As it seems wayland got some way to allow keyboard grabbing from other programs, but it needs to be implemented by the compositor. Mutter from Gnome seems to implement it, over the option Anyway, I guess there are some channels for wayland and/or kwin where @rcaelers could ask how it would need to be implemented to work in wayland and/or kwin? |
otherwise, that seems to be more what you'd need: Maybe workrave does that already? to be honest, i didn't check... |
I am no longer experiencing this issue after doing a clean reinstall of Fedora using Gnome and Workrave on Wayland. |
I suggest we close this |
Meanwhile it also works under current kde plasma and wayland. |
Unfortunately does not work for me with "Force the use of X11 on Wayland" unchecked and without GDK_BACKEND="x11" on KDE Plasma, crashes as without the checkbox. |
Workrave 1.11 beta 10 has improved Wayland support. Keyboard/mouse monitoring should work without "Force the use of X11 on Wayland" on GNOME and KDE (via Wayland idle-notify protocol) |
@rcaelers, unfortunately current implementation sometime loses ability to track the activity, it just doesn't countdown. I'm not really sure what is the reason, but this happens probably after suspend/resume cycle. I don't have reliable reproducer yet. |
Describe the bug
Workrave fails to track keyboard and mouse activity in Gnome Shell on Wayland on Fedora 32.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Workrave should track the keyboard and mouse activity
Screenshots
Not applicable
Linux:
Additional context
I have also tried building and running the branch_v1_10 branch (sha 247fdad). This build also exhibits the same issue.
The text was updated successfully, but these errors were encountered: