Do you want to know how to enable and disable shutdown dialog box in Ubuntu 14.04??. Great, did you know that by default Ubuntu is configured to prompt you with the confirmation dialog box while you shut down or restart your system. Basically, this feature is used to prevent accidental shutdown and restart.
By using some simple line of codes, you can easily turn off and turn on this feature according to your wish. Just have a glance at this article to find out how to enable and disable shutdown dialog box in Ubuntu 14.04.
Step to enable and disable shutdown dialog box:
Step 1: First open your terminal window and then type: “gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true”. This command is used to turn off the confirmation dialog box.
Step 2: Now, click on the gear icon which is at the top right corner of the screen and then select shutdown. You’ll see your system shut down directly without prompting.
Step 3: If you don’t want to turn off the shutdown dialog box, then type: “gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown false”. This command is used to turn on the confirmation dialog box.
Step 4: Now, again click on the gear icon in order to shutdown your system.
Step 5: Now, you’ll see a confirmation dialog box before you proceed to shutdown.
Note: It is always recommended to turn on this feature in order to prevent accidental shutdown.
That’s all friends. Keep reading.