A modern GNOME application that schedules system power actions with a countdown timer. Built with GTK4 and Libadwaita for a clean, native desktop experience.
- Modern Dropdown UI: Clean GTK4 + Libadwaita interface with modern dropdown selection
- Multiple Power Actions: Choose between shutdown, restart, or log off with dropdown selection
- Flexible Timer: Set timer from 1 minute to 23 hours 59 minutes with horizontal layout
- Large Countdown Display: Live HH:MM:SS display with 6em monospace font (JetBrains Mono/Fira Code)
- Full Control: Start, pause, resume, and cancel operations
- System Sound Integration: Automatic sound notifications using system sounds (no custom files)
- Automatic Execution: Power actions execute automatically when timer expires (no confirmation required)
- Input Validation: Prevents invalid timer settings (e.g., 0 hours and 0 minutes)
- Keyboard Shortcuts:
Ctrl+Enter
: Start/pause timerEsc
: Cancel timerCtrl+Q/W
: Quit application
- Safe Operations: Uses systemd commands (
systemctl
,loginctl
) for clean system actions - Compact Interface: Reduced spacing and 480px width for efficient screen usage
- Download the latest release from GitHub Releases
- Extract and install:
tar -xzf power-timer-2.1.2-linux-x86_64.tar.gz cd power-timer-2.1.2 ./install.sh # User install # OR sudo ./install.sh # System-wide install
- Launch from applications menu or run
power-timer
- Runtime: GTK4, Libadwaita
- Build: Meson, Ninja, GCC
Ubuntu/Debian:
sudo apt install libgtk-4-dev libadwaita-1-dev meson ninja-build
Fedora:
sudo dnf install gtk4-devel libadwaita-devel meson ninja-build
git clone https://github.com/snapfast/power-timer.git
cd power-timer
./build.sh
- Set Time: Use the horizontal hour and minute controls to set your desired timer duration
- Choose Action: Select shutdown, restart, or log off from the dropdown menu
- Start Timer: Click "Start" to begin the countdown
- Monitor: Watch the large real-time countdown in HH:MM:SS format with monospace font
- Control: Use "Pause"/"Resume" to pause/continue, or "Cancel" to abort
- Sound Alert: Automatic system sound notification in the last minute
- Automatic Action: When timer expires, the selected power action executes automatically
Shortcut | Action |
---|---|
Ctrl+Enter |
Start or pause/resume timer |
Esc |
Cancel running timer |
Ctrl+Q or Ctrl+W |
Quit application |
- Quick nap: Set 30 minutes for a power nap
- Downloads: Set 2 hours for large file downloads
- Rendering: Set 8 hours for overnight video rendering
- Energy saving: Auto-shutdown after work hours
- OS: Linux with systemd
- Desktop: GNOME (recommended) or any GTK4-compatible environment
- Permissions: Ability to execute
systemctl poweroff
- Architecture: x86_64 (pre-built binaries)
This project is licensed under the MIT License - see the LICENSE file for details.
Report bugs and request features on GitHub Issues.