Scheduling a automatic shutdown time in Ubuntu, Manjaro, and Fedora

Tutorial on how to add an option to schedule shutdown time from the system tray menu

Shutdown Timer is a useful GNOME extension that lets you easily schedule automatic shutdown conveniently from the system tray menu.

Shutdown Timer should work in most of GNOME-based Linux distros as in Ubuntu, Fedora, and Manjaro. When enabled, the extension adds an item in the system tray menu. You can simply specify after how long you want your computer to be shut down.

Installing Shutdown Timer in Ubuntu, Fedora, and Manjaro GNOME edition

Step 1) You should have GNOME shell extensions enabled on your computer for being able to install the GNOME extensions. Follow our step-by-step guide. Note that though the guide says Ubuntu 17.10, it should work in on Fedora and Manjaro GNOME too.

Enabling GNOME extensions 

Step 2) Go to the Shutdown Timer extension webpage and turn on the slider. Note that the GNOME extensions only work with Firefox and Chrome/Chromium browser only.

Shutdown Timer GNOME extension

Step 3) Turn ON the extension and complete the installation.

Enable Shutdown Timer Extension
Enable Shutdown Timer Extension

Step 4) You should immediately see a new option added to the status bar. Drag the slider to adjust the time.

Shutdown Timer in the Status bar menu
Shutdown Timer in the Status bar menu

By default settings, the extension initiates the shutdown action which pops-up power options dialog box with three options including “Cancel”, “Restart”, and “Shutdown” with the 30 seconds countdown. If the monitor turns off while the shutdown timer is running then the default timer in rootless mode gets interrupted.

Therefore, I suggest using pkexec shutdown where you need to enter the root password to make sure that shutdown will be executed. Click on the gear icon within the Shutdown Timer area turn on the “Root mode”.

Root Mode
Root Mode

That’s it! Hope you find the extension useful. If you ever wanted to disable it, go to the installed extensions page and turn it off.

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!


Please enter your comment!
Please enter your name here