How to disable the feature of automatic system shutdown in 60 seconds?

6,133

If you are on GNOME, there is a gnome-tweak-tool,

sudo apt-get install gnome-tweak-tool

with which you can edit what power button does.

In gnome-tweak-tool you just have click on Power in left panel and you will see something like this:

Gnome Tweak Tool: Power Button Action

Share:
6,133

Related videos on Youtube

Ruslan Gerasimov
Author by

Ruslan Gerasimov

Updated on September 18, 2022

Comments

  • Ruslan Gerasimov
    Ruslan Gerasimov over 1 year

    After pressing the physical power button on computer it's shown a 60 second countdown dialogue box:

    "This system will be automatically shutdown in 60 seconds"

    How can I disable this feature?

    The system is: Ubuntu 14.04, 64 bit.

    In the background: my little kid tends to press any keys just passing by the laptop, sometimes it's a power button, so the system goes into a shutdown in one minute although it is working and doing something like file downloading. It would be comfortable to be able to adjust the timeout value or just to enable/disable the thing in order to have the same dialogue without countdown timer but awaiting for the reaction from user on the appeared options:

    enter image description here

    Thanks for any help.

    • Ruslan Gerasimov
      Ruslan Gerasimov almost 10 years
      The system is: Ubuntu 14.04, 64 bit. I added to my question.
    • TiloBunt
      TiloBunt over 9 years
      I'm on 14.04.1 64bit and miss exactly that feature :-) I only have a fancy pop up with big buttons Lock, Suspend , Restart , shutdown. Any idea how I can get my 60 seconds timer back? (was working on 12.04)
    • TiloBunt
      TiloBunt over 9 years
      fyi, here my Q how to get the 60 sec timer back askubuntu.com/questions/515689/…
    • TiloBunt
      TiloBunt over 9 years
      Was this a fresh/new install of 14.04 or an upgrade from 12.04 or even older?
    • Ruslan Gerasimov
      Ruslan Gerasimov over 9 years
      @TiloBunt Fresh install of 14.04, but with gnome-session-fallback installed. Probably it will bring to your system a 60 sec counter desired by you.
  • n0noob
    n0noob almost 10 years
    Sorry, for not posting direct image due to my low reputation :(.
  • Ruslan Gerasimov
    Ruslan Gerasimov almost 10 years
    Thank you, but I could not find anything strictly solving the problem of the question in the gnome-tweak-tool. Seems it doesn't allow neither to turn the timer off nor to set the time value having the same multiple choice window. However it can give the opportunity to do nothing when the button is pressed so it partially helps in my case. Not what I wanted but anyway +1 for workaround.
  • mx7
    mx7 almost 10 years
    post the image link in answer, I will edit and add it.
  • n0noob
    n0noob almost 10 years
    @33833 I have just got my reputation bumped up! :)
  • Vishwas M.R
    Vishwas M.R over 2 years
    I'm using Ubuntu 20.04. I installed the "gnome-tweak-tool" as mentioned but I find that the "Power" section is missing in my case.