首页 > 代码库 > 修改ubuntu按下关机键触发的事件
修改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
修改ubuntu按下关机键触发的事件
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。