22.8. 사용자가 유휴 상태일 때 화면 잠금
화면 보호기를 활성화하고 사용자가 유휴 상태일 때 화면 잠금을 자동으로 수행하려면 다음 절차를 따르십시오.
절차
etc/dconf/db/local.d/00-screensaver 파일에 시스템 전체 설정에 대한 로컬 데이터베이스를 생성합니다.[org/gnome/desktop/session] # Set the lock time out to 180 seconds before the session is considered idle idle-delay=uint32 180 [org/gnome/desktop/screensaver] # Set this to true to lock the screen when the screensaver activates lock-enabled=true # Set the lock timeout to 180 seconds after the screensaver has been activated lock-delay=uint32 180표시된 대로 정수 키 값과 함께 the
uint32를 포함해야 합니다.사용자의 설정을 재정의하고
/etc/dconf/db/local.d/locks/screensaver파일에서 사용자가 변경하지 못하게 합니다.# Lock desktop screensaver settings /org/gnome/desktop/session/idle-delay /org/gnome/desktop/screensaver/lock-enabled /org/gnome/desktop/screensaver/lock-delay시스템 데이터베이스를 업데이트합니다.
# dconf update- 시스템 전체 설정이 적용되기 전에 사용자가 로그아웃한 후 다시 로그인해야 합니다.