如何在没有确认提示的情况下关机?

vrc*_*cmr 37 shutdown

您确定要关闭所有程序并关闭计算机吗?

当我点击关闭时我想关闭!:) 这条消息让我很烦恼。如何避免此消息?

Sid*_*Sid 26

11.04 及之前版本的 ubuntu

  • Alt+F2并输入:gconf-editor
  • 应用程序 > 指标会话
  • 选择 suppress_logout_restart_shutdown

替代文字

或者

  • Alt+F2并输入:

gconftool-2 --type bool --set /apps/indicator-session/suppress_logout_restart_shutdown true

要重新启用确认,替换关键字truefalse


Tak*_*kat 21

对于 12.04 以后

通过运行dconf-editor(来自dconf-tools 安装 dconf 工具)

在此处输入图片说明