Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 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.

2 Answers 2

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.