As of the October 13th Steam client update, regular screensaver/sleep inhibition works through the
org.freedesktop.ScreenSaverinterface, which is a great step forward. However, many programs are dropping support for the ScreenSaver path in favor of the newerorg.freedesktop.portal.Inhibitinterface, which is not currently implemented in the steam client. ValveSoftware/SteamOS#3139Because of this, I am archiving this repository
Allows programs running in Bazzite/SteamOS Game Mode to prevent system sleep. The project implements a minimal ScreenSaver interface to support the standard DBus sleep inhibition path used by most programs. This is useful especially for HTPC (console) usage, to prevent the system from sleeping while watching content.
This package will be included with Bazzite when this PR is merged (ublue-os/bazzite#5234), but is currently blocked by a Steam client bug (ValveSoftware/SteamOS#2619). In the meantime, manual installation is available.
Bazzite-Deck-Sleep-Inhibitor is hosted on Fedora COPR, and can be installed into Bazzite using these commands:
sudo dnf5 copr enable addmixbb/Bazzite-Deck-Sleep-Inhibitor #enable the COPR repository
sudo rpm-ostree install bazzite-deck-sleep-inhibitor #install Bazzite-Deck-Sleep-InhibitorSteamOS Usage: The project itself should function on SteamOS, however I have not set up an arch package to do so yet.
The large majority of games do not attempt to inhibit sleep, which is great. However, some games will inhibit sleep which may be problematic for handheld/Steam Deck usage.
See: Games and Engines that inhibit sleep and Survey of games that inhibit sleep