-
-
Notifications
You must be signed in to change notification settings - Fork 0
Linux Usage
DisplaySnooze for Linux is a small Bash command that tries the display-off command for your current desktop session.
Linux display power control depends more on your desktop environment or compositor than on your distro.
From the source repo:
bash linux/displaysnoozeOptional arguments match the Windows EXE:
bash linux/displaysnooze <guard-seconds> <interval-seconds>Examples:
bash linux/displaysnooze 300
bash linux/displaysnooze 600 5The default guard window is 600 seconds, or 10 minutes.
When running from a terminal, press Esc while DisplaySnooze is guarding to cancel early. Ctrl+C also stops the script.
DisplaySnooze currently tries these backends:
- X11:
xset dpms force off - Sway/wlroots:
swaymsg 'output * power off', with a DPMS fallback - Hyprland:
hyprctl dispatch dpms off - KDE Plasma Wayland:
kscreen-doctor --dpms off
Arch, Debian, Fedora, Ubuntu, openSUSE, and most other distros can use DisplaySnooze if the matching desktop tool is installed.
If your desktop environment does not expose a display-off command, DisplaySnooze may not be able to control it yet.
Release builds include:
- portable
.tar.gz - Debian/Ubuntu
.deb - Fedora/RPM
.rpm
Arch users can use the PKGBUILD in the source repo.