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 GNOME-based Linux distros as in Ubuntu, Fedora, and Manjaro. When enabled, the extension adds an item in the system tray menu. You can specify after how long you want your computer to be shut down.

Installing Shutdown Timer in Ubuntu, Fedora, and Manjaro

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 manual 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.

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 a pkexec shutdown where you need to enter the root password to make sure that the 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! I 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




cool and fun linux commands
The real purpose of this article is to help Linux newbies get comfortable and confident with the Linux command-line.  While knowledge and comfort of the Linux GUI allow great power, it is the mastery of the command line, or CLI, affords the Linux user unlimited power and certifies them as a Linux power user well on their way to becoming an expert.
Ubuntu 19.10 beta overview
It may be early, but I've been looking forward to the release of Ubuntu 19.10 for some time now. As an impatient person, and promised readers in the FOSSLinux article announcing the release of Eoan Ermine that we would provide you a review of Ubuntu 19.10 Eoan Ermine - Beta.  So, here it goes.
manjaro screenshots
Want to take a quick virtual tour Manjaro XFCE edition instead of downloading GBs worth of ISO image and then making a Live USB of it? We will make it easy for you. Here are a series of screenshots of the important aspects of Manjaro Linux in XFCE edition. This is a light-weight edition, and aims to be fast and low on system resources. You will be amazed on how it is still visually appealing and user friendly.