i've finally set up swayidle and now i'm getting lockscreen'd mid video...
@navi sorry for off topic but I find it interesting that when we use WMs we often end up building a full desktop environment in the end. A panel, a tray, tools like idle checkers, etc.
i've seen people not using panels/trays, i personally don't have a "main-menu" esk button that DEs do, nor a power menu, and until today, didn't have an idle checker cuz i didn't feel the need til now
so yeah, it's interesting, but it's also the point
@illyBytes@shrimp.imsofucking.gay @navi@social.vlhl.dev For some reason I've noticed some DEs work with this and some don't
KDE had a similar issue for a long while, even full screen games would allow the screen to lock if you're playing on controller.
I wish I knew why it's been such an issue these past few years.
wayland doesn't implement controller input (yet, protocol mr exists), so games open /dev/input directly; meaning from the compositor's pov you are idle, no keyboard, touch, pointed, nor tablet input, it simply does not see controller input as input, only the game does
# inhibit idle for VLC and librewolf in fullscreen
for_window [app_id = "librewolf"] inhibit_idle fullscreen
for_window [class = "vlc"] inhibit_idle fullscreen
Pretty much that, hth.
- replies
- 0
- announces
- 0
- likes
- 0
@navi@social.vlhl.dev @illyBytes@shrimp.imsofucking.gay I would think a full screen game would inhibit idle at least, if it were working properly, but I understand wayland not implementing controller input.
I can imagine that problem being either the compositor/DE, or the game (whether native or wine/proton).
Now that I think about it though, shouldn't the compositor be able to detect when a client is fullscreen? Then it could just refuse to idle without really needing to know anything else from the client (if that's the user's preference). Maybe there's something else involved I don't know about.
but that's kinda of a hack, and often not really always correct; if i fullscreen something like a kicad window to work on smth, i still expect idle timers to kick in
@navi@social.vlhl.dev @illyBytes@shrimp.imsofucking.gay I might borrow this for my config tbh.
Disabled idle a while ago due to similar issues but this would be a good enough workaround I think.