-
Notifications
You must be signed in to change notification settings - Fork 164
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
[Discussion] Figure out an alternative to xprintidle on Wayland #391
Comments
Honestly I am not familiar with Wayland though I have noticed issues on Wayland machines. There is an attempt to solve this issue here #338 Any suggestions are welcomed |
I'm not too familiar with it either, but I thought I'd just try and start up a discussion. |
Becoming more urgent as Ubuntu has just switched to Wayland as default from 21.04 onwards releases. |
For anyone not using sway, you can just set |
See #553 - now that ext-idle-notify-v1 is merged and used by swayidle by default, this should be the proper solution. |
Any update on this? meldafert's pr seems to fix it. |
on KDE 6 in wayland, Safeeyes doesn't work at all. It thinks I'm always idle and thus never triggers any breaks. I think what's needed is support for kde-idle |
@meldafert EDIT: it doesn't work. |
Update: it allowed breaks at all. Initially, I was missing I tested with installing swayidle, and now it does the breaks even if I am idle. Swayidle is running, but it still isn't pausing when I do nothing on the system. It's NOT working, it needs to support kde-idle That said, this helped me with a workaround for now: If I turn off Smart Pause, then the regular release version works (but no smart-pause of course). With the #553 change, it works without Smart Pause whether or not Smart Pause setting is on. So, that's at least different. To review:
|
There are other alternatives beyond Then I think it should work for any combination of X11 and Wayland, KDE, Gnome, Sway, Hyprland, etc.? |
@deltragon I tried to review how to test, but I'm stuck. Can you point me to how to install the version from the branch so I can test it? |
I'm testing it right now. I think I'm running the code in the branch after starting it with In either case, I've left the machine idle for 9 minutes and I have not gotten any short breaks yet. Seems magic. |
Currently, xprintidle only works on applications running through XWayland. This makes it pretty useless if you're using primarily Wayland native applications. swayidle could be something to look at.
The text was updated successfully, but these errors were encountered: