Fedora 15 Gnome 3 下使用Netbeans 7.0 和 Eclipse 3.6.2 的问题
安装Fedora KDE后的一些问题的解决方案

Fedora 15 Gnome 3 下笔记本电脑合盖后休眠的解决方法

bachue posted @ 2011年6月01日 16:38 in Linux with tags fedora 15 gnome 3 fedora power screen centos gconf-editor google , 9588 阅读

感觉Gnome 3 还是很不成熟的,很多以前可以用图形化程序解决的问题现在反而没有了,大概等到发布3.2版本的时候会改进吧。无论如何,我用的是Fedora而不是CentOS发行版本。

Fedora 15下笔记本电脑合盖后总是会休眠,不合我习惯,我一般只要黑屏+锁屏就可以了,找了没有找到图形化的修改方法,gconf-editor中似乎也找不到,Google后得知,可以用这条命令来修改

供电状态下:

gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action "<setting>"

<setting> ::= nothing|blank|suspend|hibernate|shutdown

电池状态下:

gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action "<setting>"

<setting> ::= nothing|blank|suspend|hibernate|shutdown

就可以了。

不过似乎不能锁屏,System Settings -> Screen 中已经设置过了,没起作用。gsettings我也不熟悉,不知道有没有更好的解决方案。

参考文献: fedora.rasmil.dk/blog/?p=208

Avatar_small
Garfileo 说:
2011年6月01日 17:19

gnome-tweak-tool 提供了设置界面

Avatar_small
bachue 说:
2011年6月01日 19:53

@Garfileo: 真的耶 我out了

Avatar_small
deathspeeder 说:
2011年6月04日 09:23

其实能在图形界面搞定的设置没必要去查命令是啥

Tom 说:
2011年7月14日 18:41

dconf-editor 也可以设置的,就是gsetting的一个图形界面。。。很方便

asfbejkfbnjk 说:
2015年8月02日 20:53

@Garfileo: 阿斯顿

IRDA Exam Fees 说:
2022年8月07日 19:11

The Insurance Institute of India is a very well known Institution that has two branches in India. It considered as one of the finest educational institutes when it comes to learning about Insurance. If you are a student from NSE IT then you might already know that the payment can also made online now. This guide will help you through the same process to make hassle free online payment. IRDA Exam Fees In this article we will help you understand about the process through which you can make NSEIT exam payment easily from online. You can follow this method to either book your exam slots or else you can also book your batch accordingly if required.

Uttarakhand HS Quest 说:
2022年8月16日 21:04

Every year the UK Board Intermediate 1st and 2nd year final Examination tests will be held in between March to April months with New Syllabus as per Boar Provided Text Books for Regular and Private Students.

UBSE Model Paper Cla 说:
2022年8月16日 21:05

Every year the UK Board Intermediate 1st and 2nd year final Examination tests will be held in between March to April months with New Syllabus as per Boar Provided Text Books for Regular and Private Students.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter