No description
Find a file
2026-11-25 00:17:25 +03:00
debian release 0.2: normalize maintainer metadata 2026-11-25 00:17:25 +03:00
.gitignore add build script 2026-11-08 22:00:54 +03:00
build.sh add build script 2026-11-08 22:00:54 +03:00
README.md add build script 2026-11-08 22:00:54 +03:00

shada-live-inhibit

Standalone Debian package for preventing idle and system sleep during ShadaOS live sessions. It installs and enables a systemd service that runs:

/usr/bin/systemd-inhibit --what=idle:sleep --who="ManualBlock" --why="Keeping awake" /usr/bin/sleep infinity

The service has ConditionKernelCommandLine=boot=live, so it runs from live boot (including before desktop login) and is condition-skipped on an ordinary installed-system boot. It does not mask sleep targets or disable PowerDevil. Privileged requests that explicitly ignore inhibitors are not blocked.

Build

On Debian 13 (trixie), install the build and validation prerequisites:

sudo apt update
sudo apt install build-essential debhelper devscripts lintian

Build the architecture-independent binary package as an unprivileged user from this directory:

./build.sh