Inhibit idle for fullscreen Steam games (steam_app_*), not just the Steam client — screensaver fires mid-game on controller input #11271
RandomJerk
started this conversation in
Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
default/hypr/apps/steam.luainhibits idle for the Steam client (class = "steam", i.e. Big Picture) but not for the games themselves, which run assteam_app_<appid>. A fullscreen game played on a controller looks completely idle to Hyprland — gamepad input goes straight to the game via Steam Input/SDL and never passes through the compositor — soidle.screensaverfires over the match after 150 s, andidle.lockafter 300 s.Suggest adding one rule next to the existing one:
Why this and not something else
inhibit_screensaveruse theorg.freedesktop.ScreenSaverD-Bus interface, which Hyprland doesn't implement, so neither helps on Omarchy.fullscreendeliberately: a windowed or alt-tabbed game lets idle behave normally.respectInhibitors: trueinshell/plugins/services/idle/Service.qml), so nothing else needs to change.^steam_app_alone never matchessteam_app_3468650. The existingsteamrule works because it's the complete class.Verified
Omarchy 4.0.3-1, Hyprland 0.56.2, NVIDIA 610.57.04. Added the rule to
~/.config/hypr/hyprland.lua, relaunched a Proton/XWayland game, polledhyprctl -j clients:Seventeen minutes on controller only, no screensaver. Before the rule, the same session produced the screensaver at 150 s with
inhibitingIdle=False.Happy to open a PR if that's preferred.
All reactions