從掛起或休眠狀態恢復時如何禁用鎖定屏幕,而又不失去手動鎖定屏幕的功能?


6

在Ubuntu 11.10中從掛起或休眠狀態恢復後,我想繞過密碼提示。我嘗試過:

 gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'
 

但是這樣做無法通過按Ctrl + Alt + L來手動鎖定屏幕。它還刪除了單擊屏幕右上方時獲得的電源按鈕菜單上的"鎖定屏幕"菜單項。我想保留這兩個功能,而只是在系統恢復時刪除鎖定屏幕。有什麼想法嗎?

2

In 12.04 the option to turn off the screen lock does not remove the option to lock the screen from the power/cog button.

  1. Click the power/cog button in upper right
  2. Go to system settings
  3. Click on Brightness and Lock
  4. Slide the slider for Lock to off

All done!