Skip to content

Linux Usage

Zac Smith edited this page Jun 26, 2026 · 3 revisions

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.

Basic Use

From the source repo:

bash linux/displaysnooze

Optional arguments match the Windows EXE:

bash linux/displaysnooze <guard-seconds> <interval-seconds>

Examples:

bash linux/displaysnooze 300
bash linux/displaysnooze 600 5

Supported Backends

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

Distro Notes

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.

Packages

Release builds include:

  • portable .tar.gz
  • Debian/Ubuntu .deb
  • Fedora/RPM .rpm

Arch users can use the PKGBUILD in the source repo.

Clone this wiki locally