Remove Shutdown / Log Out Confirm Dialog Box in Ubuntu 14.04/14.10

July 24, 2014 — 2 Comments

remove shutdown log out dialog box

Every time you click the Shutdown option in Ubuntu Unity, it pops up a dialog box that asks for your confirmation whether to shutdown or not.

If you find this is annoying, this quick tutorial will show you how to disable the Shutdown and Log Out confirmation dialog box.

Disable shutdown log out dialog box

1. Search and launch the dconf Editor from Unity dash.

2. Navigate to apps -> indicator-session.

3. Check the value box after “suppress-logout-restart-shutdown”

Disable Shutdown Dialog box

After that, you’ll see Restart option available in system menu and all shutdown, restart or log out options will be implemented immediately without confirmation when you click on one of them.

Restart in system tray menu

Remove Confirmation Dialog Box When you’re at Login Screen:

Previous steps will not work if you are logged out and try to shutdown or restart your computer at the Unity Greeter (LightDM login screen).

To make it work, you need to start dconf Editor with lightdm user privilege:

1. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run below command and type in your user password to get the root (super user) privilege:

sudo -i

2. After that, in this terminal window run command to allow user lightdm to create a connection to the X server:

xhost +SI:localuser:lightdm

3. Next switch to user lightdm in this terminal window:

su lightdm -s /bin/bash

4. Finally launch dconf Editor and do the changes:


Disable shutdown dialog box when logged out

That’s it. Enjoy!

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to

2 responses to Remove Shutdown / Log Out Confirm Dialog Box in Ubuntu 14.04/14.10

  1. Johnny Rosenberg August 7, 2015 at 12:05 pm

    I did this and it works for shutdown, but not for logout. Is this only supposed to work at shutdown?

  2. Does not work for 16.04.

Leave a Reply


Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>