Skip to content

Convenient shutdown timer and real-time clock alarm for the gnome-shell Quick Settings

Notifications You must be signed in to change notification settings

Deminder/ShutdownTimer

Repository files navigation

Shutdown Timer for Gnome Shell

Shutdown Timer Icon Get it on GNOME Extensions CI
Shutdown/reboot/suspend your device after a specific time or wake with a rtc alarm.

Screenshot

Features

  • Timer for Poweroff, Reboot, Suspend
  • Show system wake and shutdown schedules externalScheduleMenu
  • Unlock-dialog does not interrupt the timer
  • Control rtcwake and shutdown as user by installing a privileged control script shutdowntimerctl from the extension settings window
  • Option to run a checking shell command to confirm shutdown
  • Option for ensuring system shutdown with additional shutdown ${REQUESTED_MINUTES + 1} (for Poweroff and Reboot). Note: non-root users will be blocked from logging in

Manual Installation

Requires gnome-shell-extensions and gettext:

make install

OR automatically switch to the last supported release version before install make supported-install.

Tool installation

Manually install privileged script for rtcwake and shutdown with:

sudo ./src/tool/installer.sh --tool-user $USER install

Development

Debug

Install via $GUEST_SSHCMD on a virtual/remote host $GUEST_SSHADDR for debugging:

GUEST_SSHCMD=ssh GUEST_SSHADDR=guest@vm make debug-guest

Install locally with debug output enabled:

make debug-install

Update Translations

Extract transalable text from sources to template file po/main.pot and update .po files:

make translations

References