this post was submitted on 18 Feb 2024
1 points (100.0% liked)
Linux Gaming
15250 readers
55 users here now
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME
away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
Resources
WWW:
Discord:
IRC:
Matrix:
Telegram:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You could try systemd-inhibit as a prefix to any game launch command, much in the same way as gamemoderun is used.
Sidebar: this could be considered an example of the XY Problem. You should consider editing the title since the problem you're really hoping to solve is your laptop going to sleep while you play a game.
While the XY problem sort of applies to this post, I think labeling it as such might be a little too dismissive, since this is one of those rare cases where OP has correctly identified the root cause of the observed issue.
(While easier workarounds do exist, the ideal solution would indeed be fixing the hardware manager's input idle detection such that it no longer ignores game controllers.)