{"id":34100,"date":"2021-07-02T16:39:59","date_gmt":"2021-07-02T16:39:59","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=34100"},"modified":"2021-07-02T16:39:59","modified_gmt":"2021-07-02T16:39:59","slug":"automatic-shutdown-ubuntu-system-menu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2021\/07\/automatic-shutdown-ubuntu-system-menu\/","title":{"rendered":"Automatic Shutdown Easily in Ubuntu via System Menu Option"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/12\/gnome-icon250.png\" alt=\"\" width=\"250\" height=\"250\" class=\"alignleft size-full wp-image-33105\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/12\/gnome-icon250.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/12\/gnome-icon250-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>Want to automatically power off Ubuntu after given time? Here&#8217;s an Extension adds the option to top-right system menu.<\/p>\n<p>Yes, you can do this either via a graphical shutdown application, or <code>shutdown<\/code> command with few parameter. However, for beginners or those hate Linux command, life will be easier with the <i>ShutdownTimer<\/i> extension.<\/p>\n<p>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.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/shutdowntimer.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/shutdowntimer-554x600.jpg\" alt=\"\" width=\"554\" height=\"600\" class=\"aligncenter size-large wp-image-34102\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/shutdowntimer-554x600.jpg 554w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/shutdowntimer-277x300.jpg 277w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/shutdowntimer.jpg 575w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/a><\/p>\n<p>A setting dialog is available by clicking on the gear icon. There you can set the minimum and maximum time value, and use <i>Automatic Suspend<\/i> instead of shutdown.<\/p>\n<p>As some running apps\/services might prevent user shutdown, &#8220;Root mode&#8221; is available to perform the action via super user privilege. However, you need to type user password every time you enable automatic shutdown.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/shutdowntimer-settings.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/shutdowntimer-settings.jpg\" alt=\"\" width=\"600\" height=\"490\" class=\"aligncenter size-full wp-image-34103\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/shutdowntimer-settings.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/shutdowntimer-settings-300x245.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>How to Install the ShutdownTimer extension:<\/h3>\n<p>The extension supports all current Ubuntu releases running with default Gnome Desktop. As well, GNOME 40 is supported.<\/p>\n<p>1.) Firstly, open terminal by pressing Ctrl+Alt+T on keyboard. When terminal opens, run command to install the required packages:<\/p>\n<pre style=\"border:none;\">sudo apt install chrome-gnome-shell gnome-shell-extension-prefs<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/10\/apt-chrome-gnome-shell-prefs.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/10\/apt-chrome-gnome-shell-prefs.png\" alt=\"\" width=\"600\" height=\"150\" class=\"aligncenter size-full wp-image-32875\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/10\/apt-chrome-gnome-shell-prefs.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/10\/apt-chrome-gnome-shell-prefs-450x113.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>2.) Secondly, go to the extension web page and click on the slider icon to install it.<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/extensions.gnome.org\/extension\/792\/shutdowntimer\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Shutdown Timer Extension<\/a><\/div>\n<\/div>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/install-shutdowntimer.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/install-shutdowntimer-600x353.jpg\" alt=\"\" width=\"600\" height=\"353\" class=\"aligncenter size-large wp-image-34104\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/install-shutdowntimer-600x353.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/install-shutdowntimer-300x176.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/install-shutdowntimer-768x451.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/install-shutdowntimer.jpg 970w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Don&#8217;t see the toggle icon? Install browser extension via <i>&#8216;Click here to install browser extension&#8217;<\/i> link and refresh the web page.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/gnome-browser-extension.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/gnome-browser-extension.png\" alt=\"\" width=\"520\" height=\"256\" class=\"aligncenter size-full wp-image-10357\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/gnome-browser-extension.png 520w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/gnome-browser-extension-450x222.png 450w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/a><\/p>\n<p>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&#8217;t see the option.<\/p>","protected":false},"excerpt":{"rendered":"<p>Want to automatically power off Ubuntu after given time? Here&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":34101,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[689],"class_list":["post-34100","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gnome-shell","tag-gnome"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/34100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=34100"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/34100\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/34101"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=34100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=34100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=34100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}