Linked Questions

1 vote
2 answers
2k views

Disable shutdown confirmation for physical "Power off" button in the dash (Ubuntu 20.04)

On my notebook in the dash (above the keyboard) there is physical button for turning the computer on and off. How to set up this button to turn off the system immediately without confirmation? Where ...
17 votes
4 answers
15k views

Ubuntu 16.04 doesn't shut down after suspend or hibernate

Why no answer accepted For the simple reason that I haven't been using Ubuntu for a long time, so I couldn't test the answers. The question Actually my question can appear identical to this one in ...
16 votes
2 answers
7k views

How to change mapping for the «PowerOff» key on keyboard?

I've bought the ROG G551JM Asus laptop which proven to be Ubuntu-compatible. The computer's keyboard is ill-designed with the key "Poweroff" being an ordinary key, placed in the spot, where one ...
5 votes
3 answers
11k views

Ubuntu 14.04 64bit - computer shuts down by itself

After I installed Ubuntu 14.04 64-bit on my Lenovo ThinkPad T61 today, I could boot up Ubuntu without problem but after I run the Software Center, Additional Driver, or Firefox, the computer will shut ...
1 vote
2 answers
105 views

Forcefully play a video

I want to play a video in a way that the only way to close it is shutting down the computer forcefully. Meaning: I'd like it so that interacting with the video playing is impossible. Is that even ...
1 vote
0 answers
131 views

Ubuntu 16.04 shutdown & lock problem

I am a new linux user. When I press the Shutdown option from menu in my laptop don't shutdown and it's sign out from my sing in account . And from menu my lock option don't work . How can I solve ...
6 votes
2 answers
11k views

How to change Power-Button to Suspend in 16.04?

I know the answer here about How do I modify the options for the power button? However, the dconf-editor is completely different than in previous versions. There is no Settings-daemon. It looks like ...
11 votes
6 answers
27k views

Why does my display keep turning off every 10 minutes?

I have installed Ubuntu 11.10 (Oneiric) in VirtualBox as well as virtualbox-guest-additions. The display resolution adapts to the size of the window as expected, but the display turns off after 10 ...
0 votes
1 answer
220 views

"Shut Down" and "Restart" from system (drop-down) menu inactive

The "Shut Down" and "Restart" options from the menu (see image below) are not responsive (nothing happens after I click either of them). A few minutes after launching Ubuntu the "Restart" option ...
1 vote
1 answer
617 views

Changing shutdown sound effect in Ubuntu 16.04

How can I change the shutdown sound effect in Ubuntu 16.04?
2 votes
0 answers
873 views

Is there a way to disable sleep of a remote computer from command line?

It's an Ubuntu 12.0.4 computer that I have access only through ssh. How to prevent it from going to sleep?
2 votes
4 answers
259 views

How come I cannot shut down properly?

I wonder why I cannot turn off correctly. Whenever I try to turn off, it get a black screen and it turns back into Ubuntu. Only Ubuntu, HP4140 mini.
1 vote
0 answers
416 views

Nothing happens when i press the power button

When i press the power button on my desktop it used to suspend but now it seems that nothing happens. Would the fix be under sudo gedit /etc/acpi/events/powerbtn? Thanks.
3 votes
1 answer
886 views

Suspend on power button when session is locked

Is it possible to configure Ubuntu so that the power button causes suspend regardless of whether the session is locked or not? See here, for example. That configuration does not work, however, if the ...
3 votes
1 answer
1k views

How to add "shutdown" to the list of "when the lid is closed" in power settings? [duplicate]

Possible Duplicate: How do I modify the power options? I'd like to shutdown my laptop by closing the lid; but in Power Settings there's no option to do that. Is there any way to add "shutdown" ...
12 votes
2 answers
25k views

How can I modify the power button behaviour? [duplicate]

I want the PC to shut down without any dialogue, but let time for the applications to close properly. One solution is, to change powerbtn.sh to: shutdown -h now but that does not wait for all ...
9 votes
4 answers
8k views

How do I remove the shutdown confirmation menu?

How do I remove the shutdown confirmation menu saying "are you sure you want to shut down"? This is the menu that pops up after I press shut down. I can't navigate to it in gconf_editor using the ...
1 vote
3 answers
6k views

sudo shutdown vs pressing power button

I have a headless Ubuntu server running 64 bit Ubuntu 12.04 server edition, and I connect to the server via SSH from my Windows laptop. Sometimes when I would like to turn off the server and my ...
2 votes
1 answer
3k views

How to configure Ubuntu 13.04 to shutdown when the power button is pressed [duplicate]

I would like my computer to shut down when I press the power button. Without any questioning. First problem is, that a dialog pops up which I have to click. How to remove this? Second problem is, ...
1 vote
1 answer
942 views

Locking keyboard, mouse and CDROM for baby

I use laptop and need to use keyboard between baby activities... Is there any software for ubuntu that does all these things by pressing just one key (or predefined combination/password)? I tried ...
4 votes
2 answers
3k views

Hibernate on power button - login screen

Every once in a while my SO-User (significant other user) leaves the computer but doesn't hibernate it. I want to push the power button to save some energy, but as I'm not in her session, the computer ...
1 vote
0 answers
120 views

Shutdown functions [duplicate]

Possible Duplicate: How do I modify the power options? How to enable hibernation in 12.04? On Windows was a function to not shut down completely, but save the session in RAM to start directly ...
1 vote
2 answers
156 views

How do I suppress the confirmation dialogue when ending a session? [closed]

I currently using an old PC with Ubuntu 11.10. When I want to restart(or turn off) the system Ubuntu always ask me for confirmation. I want to force it to perform immediately and don't want to see ...
7 votes
2 answers
10k views

How can I enable the power button on my server?

The power button on my headless 11.10 server appears to do nothing unless I hold it in for 5 seconds or so, in which case it switches the machine off instantly. What I'd like it to do if I press it ...
2 votes
3 answers
5k views

How to configure motherboard to allow suspension

My computer is unable to suspend/hibernate on Ubuntu 11.10. Some people told me that probable had to do with my bios setting, that I should set my ACPI settings to S3. The problem is that I can't ...
2 votes
1 answer
832 views

How do I get Ubuntu to ignore power button presses?

I've got a small media server that sits under my TV, and it runs Ubuntu 11.04 desktop x64 with XBMC on top. I've got a problem in that unknowing users / visitors occasionally press the power button '...
5 votes
2 answers
691 views

How does the shutdown button works without asking for password? [duplicate]

Possible Duplicate: How to shutdown/restart/suspend … without authentication or confirmation? If shutdown asks for password (and so does every program which has the option to turn off ...
1 vote
0 answers
332 views

Lid closed power option doesn't work anymore [duplicate]

Possible Duplicate: How do I modify the power options in Ubuntu 11.10? After upgrade to 11.10 the lid close option in the power settings doesnt seem to work anymore. Only options now are ...
4 votes
0 answers
5k views

How do I configure an action when pressing hardware power button? [duplicate]

Possible Duplicate: power button “instant”-shutdown There is no option "action when pressing hardware power-button"(shutdown, hibernate, suspend) in ubuntu 11.10. Where to configure ...
3 votes
1 answer
3k views

How to shutdown the computer with physical power button or by closing the lid?

Does anyone know how to fine tune power settings in 11.10 such that I can turn off the power immediately (no dialogue box) by pressing the physical power button or closing the lid? It was easy to do ...
1 vote
0 answers
224 views

How do I set my laptop to shutdown instead of hibernating/suspending when I close the lid? [duplicate]

Possible Duplicate: How do I set the power button to shutdown instantly instead of opening a dialog window? I have a Dell M4300 and the hibernate/suspend dosn't work properly. Instead I would ...
0 votes
1 answer
596 views

11.04 -> 11.10 update problems (Power, Display, Resolution)

I have serious issues with Ubuntu (64 bit) after upgrading system from 11.04 to 11.10. My hardware: Asus G53SW (i7-2630QM, 8GB RAM, GF GTX460M) Power (UPower) - when I change behaviour of lid open/...