Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to disable the shutdown confirmation box in Ubuntu

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how Ubuntu disables the shutdown confirmation box. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

Disable shutdown, restart, logoff OK box

Ubuntu always has a dialog box configured to prompt you whenever you want to shut down, restart, or log off.

This is a safeguard against a false shutdown or reboot when you don't intend to.

Not everyone wants to be questioned every time they shut down. Busy friends may leave their computers awake because they execute the shutdown command and forget to check the damn dialog box.

This tutorial will show you 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 command below to turn it off.

Press Ctrl-Alt-T on the keyboard to open the terminal. Then type the command below

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

It's as simple as that. You'll never be bothered by a damn confirmation box again.

To restore this dialog box, click the command below

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

Thank you for reading! About "Ubuntu how to disable shutdown confirmation box" This article is shared here, I hope the above content can have some help for everyone, so that everyone can learn more knowledge, if you think the article is good, you can share it to let more people see it!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report