Ubuntu disables the shutdown confirmation box step

  

In the Ubuntu system operation, each time you shut down, there is a certain amount to indicate whether you want to shut down, which is a waste of time. In fact, this confirmation box can be closed. After you disable it, you are doing it. The shutdown box, restart, logout operation will not jump out of the confirmation box, the following small series will introduce you to the Ubuntu disable shutdown determination box.

Disable shutdown, restart, logout confirmation box

Ubuntu always configures a dialog box that prompts you whenever you want to shut down, restart, or log out.

This is a safeguard against accidental shutdown or reboot if you don't plan to do so.

Not everyone wants to be asked every time they shut down. Busy friends may have made their computer so awake because he executed the close command but forgot to confirm the damn dialog.

This tutorial will guide you through how to avoid that dialog every time you shut down.

When this feature is activated, you will receive the following prompt.

Are you sure you want to close all programs and shutdown your computer?

Run the following command to turn it off.

Press Ctrl – Alt – T on your keyboard to open the terminal. Then hit the following command

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

It's that simple, you won't be damned confirmation dialog again Harassed.

If you want to restore the dialog box, knocking the following command on

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

The above is the introduction of the Ubuntu disable shutdown determination box, because often because of the rush time, just leave the shutdown, leaving the computer is always on, disable the confirmation box does not exist this trouble.

Copyright © Windows knowledge All Rights Reserved