Automatic Shutdown Easily in Ubuntu via System Menu Option

Last updated: July 2, 2021

Want to automatically power off Ubuntu after given time? Here’s an Extension adds the option to top-right system menu.

Yes, you can do this either via a graphical shutdown application, or shutdown command with few parameter. However, for beginners or those hate Linux command, life will be easier with the ShutdownTimer extension.

The extension adds an option under Power Off/Log Out menu. With it, you can just move the slider to change time delay, and turn on the toggle icon to automatically shutdown your computer.

A setting dialog is available by clicking on the gear icon. There you can set the minimum and maximum time value, and use Automatic Suspend instead of shutdown.

As some running apps/services might prevent user shutdown, “Root mode” is available to perform the action via super user privilege. However, you need to type user password every time you enable automatic shutdown.

How to Install the ShutdownTimer extension:

The extension supports all current Ubuntu releases running with default Gnome Desktop. As well, GNOME 40 is supported.

1.) Firstly, open terminal by pressing Ctrl+Alt+T on keyboard. When terminal opens, run command to install the required packages:

sudo apt install chrome-gnome-shell gnome-shell-extension-prefs

2.) Secondly, go to the extension web page and click on the slider icon to install it.

Don’t see the toggle icon? Install browser extension via ‘Click here to install browser extension’ link and refresh the web page.

Once you installed the extension, the option should appear in system menu immediately. Log out and back in or restart Gnome Shell if you don’t see the option.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

One response to Automatic Shutdown Easily in Ubuntu via System Menu Option

  1. Your a good man Jim.