zoukankan      html  css  js  c++  java
  • 修改ubuntu按下关机键触发的事件

    gsettings set org.gnome.settings-daemon.plugins.power button-power shutdown

    will change your the behaviour of the power button of your system from interactive (default) to immediate normal shutdown.

    The command is gsettings set org.gnome.settings-daemon.plugins.power button-power <option>

    Available options are:

    • Blank: does nothing
    • Suspend: makes your system suspend
    • Shutdown: starts a normal issued shutdown procedure
    • Hibernate: hibernates your system
    • Nothing: does nothing
    • Log out: log your user out

    参考链接:http://askubuntu.com/questions/430776/how-can-i-modify-the-power-button-behaviour

  • 相关阅读:
    JS笔记009
    JS笔记008
    JS笔记007
    JS笔记006
    JS笔记005
    JS笔记004
    JS笔记003
    JS笔记001
    CSS3笔记012
    expdp SYNONYM of publick and schema owner
  • 原文地址:https://www.cnblogs.com/wangzhigang/p/5919549.html
Copyright © 2011-2022 走看看