Ubuntu – How to remove the shutdown confirmation menu

menunotificationshutdown

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.

Best Answer

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)