问题描述
当计算机进入睡眠状态时,它会自行锁定,我想避免这种情况。 (Ubuntu 9.10)
请不要投票无效的答案!
最佳思路
尝试:
Go System > Preferences > Screensaver and uncheck the box that says lock when screensaver is active.
其他
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock_on_blank_screen false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock_use_screensaver_settings false
如果这两个不起作用
Open the terminal, and type gconf-editor In the window that comes up go to apps > gnome-power-manager > lock On the right, UNCHECK suspend and hibernate and make sure that the use_screensaver_settings is CHECKED
要么 –
In your terminal type sudo gedit /etc/default/acpi-support
Go to the line that says LOCK_SCREEN=true and put a # in front of it.
关闭,保存并尝试。
通过UbuntuForums的所有解决方案
次佳思路
要禁用挂起时的屏幕锁定,必须打开gconf-editor并禁用以下选项:
/apps/gnome-power-manager/lock_on_hibernate = false
/apps/gnome-power-manager/lock_on_suspend = false
/apps/gnome-power-manager/lock_on_blank_screen = false
但是,使用此设置时,按“暂停”按钮将根本没有屏幕保护程序,因此在关闭笔记本电脑之前没有可见的反馈。我通过创建一个/etc/acpi/suspend.d/06-gnome-screensaver.sh
脚本解决了第二个问题,该脚本在睡眠序列开始时启动了gnome-screensaver。现在,我的屏幕保护程序处于挂起状态,而简历上没有屏幕锁定对话框。
如果gnome-power-manager将当前的lock_on_ *重命名为screensaver_on_ *并添加新的lock_screen选项来决定是锁定屏幕还是仅激活屏幕保护程序,那将是很好的。