Repository navigation
Keepwatch for Linux and Windows 0.4.0-beta.1 (beta)
Pre-release
Pre-release
Beta for Linux and Windows. It doesn't affect the Mac app: Mac users stay on v0.3.0.
New on Linux
- Tray icon (
keepwatch-tray): see whether the computer is being kept awake and for how long. Keep awake for 1 h, 3 h or 8 h, until you turn it off, or while agents run. Start or end a laptop-closed session, see running agents, and open it at login. It works on KDE, Ubuntu, XFCE and Cinnamon; stock GNOME needs the AppIndicator extension. - Laptop-closed sessions:
keepwatch lid start --hours 3(or from the tray) keeps the laptop running with the lid shut, then suspends it.- Rules: it sleeps N hours after the lid closes (opening the lid resets the timer). It can also sleep at a set time (
--at 01:00) or when agents finish (--until-agents-done). On battery it starts only above 20% and ends at 20%. It ends if the laptop is too hot, and after 12 hours at most. - No password and no root: Keepwatch asks systemd to ignore the lid while the session runs. If Keepwatch crashes or is killed, that request goes with it, so the laptop sleeps as usual.
keepwatch lid endandkeepwatch lid status [--json]. A log is kept in~/.local/state/keepwatch/lid.log.
- Rules: it sleeps N hours after the lid closes (opening the lid resets the timer). It can also sleep at a set time (
Downloads
keepwatch-0.4.0-beta.1-linux-x86_64.tar.gz:keepwatchandkeepwatch-tray, static, for any x86_64 distribution. Keeping awake and lid sessions need systemd (logind).keepwatch-0.4.0-beta.1-windows-x86_64.zip:keepwatch.exe(command line; no tray and no lid sessions on Windows yet). It isn't code-signed, so SmartScreen may warn.
Check a download: sha256sum -c SHA256SUMS.txt --ignore-missing
Install on Linux
tar -xzf keepwatch-0.4.0-beta.1-linux-x86_64.tar.gz
install -m 755 keepwatch-0.4.0-beta.1-linux-x86_64/keepwatch keepwatch-0.4.0-beta.1-linux-x86_64/keepwatch-tray ~/.local/bin/
keepwatch-tray & # then "Open at login" in its menuNot tested on real laptops yet
- Tested so far: CI (Ubuntu, Windows) and containers, with stand-ins for the lid, battery and systemd. The tray was tested over D-Bus by clicking its real menu.
- Not yet tested: whether your desktop's power manager honours the lid block, and how the icon looks in your panel. Please open an issue with what you see.