> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Get Rid of Shutdown Confirmation Dialogue Box in Ubuntu
- URL: https://itsfoss.com/shutdown-dialogue-box-ubuntu-1404/
- Published: 2014-07-15T23:52:57.000Z
- Updated: 2023-01-11T09:56:08.000Z
- Author: Abhishek Prakash
- Tags: #Import 2022-12-26 08:27

Each time you want to [shutdown Ubuntu](https://itsfoss.com/schedule-shutdown-ubuntu/), perhaps you do the following. You go to the top right corner, click on the gear symbol and select shutdown from the drop down menu:

[![Shutdown Ubuntu 14.04](https://itsfoss.com/content/images/wordpress/2014/07/Shutdown_Ubuntu_1404.jpeg)](https://itsfoss.com/content/images/wordpress/2014/07/Shutdown%5FUbuntu%5F1404.jpeg)

And when you do so, a dialogue box pops up and ask for your confirmation whether or not you want to shut it down. It also provides the option to choose between shutdown and restart.

[![Get rid of shutdown confirmation dialogue box in Ubuntu 14.04](https://itsfoss.com/content/images/wordpress/2014/07/Ubuntu_Shutdown_Confirmation.jpeg)](https://itsfoss.com/content/images/wordpress/2014/07/Ubuntu%5FShutdown%5FConfirmation.jpeg)

Pretty neat and clean. You can just choose what you want. But what if it annoys you a little. I mean, you already chose to shut it down then why a dialogue box just to confirm that. Why not just **get rid of this shutdown dialogue box** altogether?

## Turn off shutdown dialogue box in Ubuntu

To disable shutdown dialogue box, open a terminal (Ctrl+Alt+T) and use the following command:

```
gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true
```

No need of a restart. Next time you click on shutdown, it will immediately shut down the system.

### Restart is still an option

Now you may ask what happens to restart? Because originally restart only appeared in the dialogue box and it was not in the settings. Don’t worry, now the restart option will appear in the settings itself:

[![restart option in Ubuntu settings](https://itsfoss.com/content/images/wordpress/2014/07/Ubuntu_get_restart_button.jpeg)](https://itsfoss.com/content/images/wordpress/2014/07/Ubuntu%5Fget%5Frestart%5Fbutton.jpeg)

## Get the dialogue box back

Alright, perhaps you did not like when your system is immediately turned off and you want the default behavior back. No worries, you can get it back using a similar command. Just use the option false this time:

```
gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown false
```

That’s it. A simple tweak to further enjoy Ubuntu. A similar simple tweak would be to [turn off Bluetooth by default in Ubuntu](https://itsfoss.com/turn-off-bluetooth-by-default-in-ubuntu-14-04/ "Turn Off Bluetooth By Default In Ubuntu 14.04 [Quick Tip]"), I hope you have read it. Enjoy :)