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

game-performance wrapper session inhibiting #119

Open
russjr08 opened this issue Dec 18, 2024 · 0 comments
Open

game-performance wrapper session inhibiting #119

russjr08 opened this issue Dec 18, 2024 · 0 comments

Comments

@russjr08
Copy link

Not sure if this is something that would be in-scope for the game-performance wrapper, but it would be great if along with changing the active power profile, it would also inhibit screen-locking/sleep while a game is running - more or less for when using a controller with a game. This is something that I know Feral's GameMode does automatically, but I see its not recommended while using Cachy.

On Wayland based environments this is done through the session inhibit protocol, and both KDE and GNOME have their own wrappers to do this (kde-inhibit and gnome-session-inhibit respectively), but for a universal solution systemd-inhibit could be utilized (the --why= flag could be used in the same way the -r flag is used in powerprofilesctl).

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

1 participant