No description
- Shell 100%
| debian | ||
| .gitignore | ||
| build.sh | ||
| README.md | ||
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