GUI內終端執行以下指令,或者加入開機啓動腳本內hibernate
gsettings set org.gnome.settings-daemon.plugins.power button-power shutdown
code
will change your the behaviour of the power button of your system from interactive (default) to immediate normal shutdown.orm
The command is gsettings set org.gnome.settings-daemon.plugins.power button-power <option>
io
Available options are:plugin