9

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 old instructions for 10.04 or 11.04.

Rockishi
  • 563
  • 3
  • 8
  • 14
  • Possible duplicate of [Power button instant shutdown](http://askubuntu.com/questions/66723/power-button-instant-shutdown) – Nitin Venkatesh Oct 19 '11 at 05:46
  • Do you mean the choice screen (that lets you click shutdown, restart, log out, etc) or the window that pops up when you click shutdown (from various screens) that gives you the option to shutdown or cancel? I've not explained that particularly well! – Oli Oct 19 '11 at 06:17
  • possible duplicate of [How do I shut down without the confirmation prompt?](http://askubuntu.com/questions/14794/how-do-i-shut-down-without-the-confirmation-prompt) – rubo77 Feb 25 '14 at 12:29

4 Answers4

4

For 11.10

Run dconf-editor
(either Alt+F2 or from terminal, must be installed first)

/org/gnome/gnome-session/    

uncheck "logout-prompt"

I still haven't found a way to return restart to the menu and suppress that confirmation.
(thanks for the edit fossfreedom)

MathUHenry
  • 86
  • 2
3

For 10.04/10.10 & 11.04

Run gconf-editor
(either Alt+F2 or from terminal)

/apps/gnome-session/options    

uncheck "logout_prompt"

/apps/indicator-session    

check "suppress_logout_restart_shutdown"

This will remove the annoying dialog in releases preceding Oneiric Ocelot.

MathUHenry
  • 86
  • 2
1

Ubuntu 13.10

Open a terminal and run gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true. This will disable the dialog.

by Donarsson: shut down without extra question

rubo77
  • 31,573
  • 49
  • 159
  • 281
0

For me in Ubuntu 11.10:

sudo apt-get install gconf-editor dconf-tools
dconf-editor

Go to /apps/indicator-session

Enable: suppress-logout-restart-shutdown

Cheers!

fossfreedom
  • 171,546
  • 47
  • 376
  • 404
Costales
  • 2,224
  • 3
  • 22
  • 36