Tuesday, October 18, 2011

gnome shell 合上笔记本自动休眠修改

gnome3合上盖子自动休眠,可以改的

查看
$ gsettings list-keys org.gnome.settings-daemon.plugins.power
$ gsettings get org.gnome.settings-daemon.plugins.power lid-close-ac-action
$ gsettings get org.gnome.settings-daemon.plugins.power lid-close-battery-action
设置
$ gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action '你希望的值'
$ gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action '你希望的值'



或者
$ dconf-editor
org--gnome--settings-daemon--plugins--power
lid-close-ad-action与lid-close-battery-action的值

No comments: