5

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.

1 Answers1

5

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

n0noob
  • 255