Hello fellow Linux gamers,
Is there a way to pause or suspend games and turn off the PC similar to how the Steam Deck handles it? Or is this functionality exclusive to the Steam Deck?
I’m using Arch btw, but feel free to share solutions for other distros as well.
I came across Nyrna, but it seems to only support X11 and not Wayland, according to the description.
The Steam Deck doesn’t fully shut down, it’s just regular sleep mode.
I just tried it on Nobara. Just… application launcher (The start menu icon)->sleep. Waited, and then woke the machine back up and when the machine came back up, the game was still running. No idea if all games will play nice with that, but Satisfactory did.
I haven’t tried it out, but this is a thing: https://github.com/Merrit/nyrna
Systemctl hibernate/suspend not work?
Weren’t there a kill command to pause any app and another to wake it up?
there is, you send the SIGSTP and SIGCONT to any process for it to be suspended or resumed
It doesn’t work for all games. I think Grey Goo was problematic
(I remember doing thid when I had an Nvidia. Someone noted down that Nvidia does have issues. Maybe I should try again with my AMD)