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.

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.

share|improve this question
    
Possible duplicate of Power button instant shutdown –  nitstorm Oct 19 '11 at 5: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 6:17
    
possible duplicate of How do I shut down without the confirmation prompt? –  rubo77 Feb 25 at 12:29

4 Answers 4

up vote 3 down vote accepted

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)

share|improve this answer
    
Perfect, thanks! –  Rockishi Oct 25 '11 at 0:10
    
Mine is unchecked, but it still prompts me, any ideas? –  Dennis Nov 22 '11 at 2:13

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.

share|improve this answer

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

share|improve this answer

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!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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