Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 any confirmation dialogue anymore.

How can I suppress that?

share|improve this question

closed as off-topic by Luis Alvarado Apr 23 '14 at 17:22

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

gsettings set org.gnome.settings-daemon.plugins.power suppress_logout_restart_shutdown true

Will remove the box with the action confirmation that shows up when you press the shutdown button in Ubuntu 11.10

To re-enable it use

gsettings set org.gnome.settings-daemon.plugins.power suppress_logout_restart_shutdown false

For more information on how to setup your power options and different power button actions visit the following post

share|improve this answer

Install Ubuntu Tweak from Software Center,, Click on Tweaks,

Click on Session Control,

Check Supress Dialog to confirm Logout Restart Shutdown.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.