How do I shut down without the confirmation prompt?
Are you sure you want to close all programs and shut down the computer?
When I click shut down I want to shut down! :) This message bugs me. How to avoid this message?
Solution 1:
11.04 and previous versions of ubuntu
-
Alt + F2 and enter this:
gconf-editor
- apps > indicator-session
- select
suppress_logout_restart_shutdown
OR
-
Alt + F2 and enter this:
gconftool-2 --type bool --set /apps/indicator-session/suppress_logout_restart_shutdown true
To re-enable confirmation, replace the keyword true
with false
Solution 2:
For 12.04 an later
Settings for the indicator session and logout menu are found by running dconf-editor (from dconf-tools )
Solution 3:
- press
Alt+F2
and typegconf-editor
- go to
/apps/indicator-session
and check items you want