Still won't inhibit suspend when I'm streaming video via UPnP, from what I can tell. Too bad. Not that I'm complaining.
Does stuff like this just work with arbitrary third party apps in other operating systems? Ideally, I'd want a control panel with a list of applications that attempt to inhibit suspend, a possibility to override that intent, and perhaps a default policy for new applications.
On a headless server, maybe, but I'd assume an open browser, even idle, will use up more CPU resources than streaming a video file, unless you're doing transcoding.
If it's easy to add a new service, that's nice, though now we're kind of back to the poking a handful of conf files and wafting the smoke of burning sage across your keyboard that the readme alludes to.
Awesome project! Might be posted because there was that thread about power savings earlier? All I need now is to pick a WAL daemon to run on my raspberry pi (er, it's actually a KVM with access to the POWER button so if I wanted eg. wake-on-stream I'd need to either use WAL anyways or rig something up to use my own trigger...).
For most use cases you can configure autosuspend and always wrap your commands with systemd-inhibit or gnome-session-inhibit. E.g., for an SSH session when starting tmux, or when you start the music player (for GNOME I guess that many players already do register inhibitors only when they play). One could also write a server that registers inhibitors as long as it serves connections (one could also use systemd socket activation and wrap the server in systemd-inhibit and terminate the server when done).
yes, homeservers do not need to run at all times. I solve this by being able to ssh into the router from WAN via wireguard and sending out wake-on-LAN magic packets.
Does stuff like this just work with arbitrary third party apps in other operating systems? Ideally, I'd want a control panel with a list of applications that attempt to inhibit suspend, a possibility to override that intent, and perhaps a default policy for new applications.