설정 파일 위치 : /etc/systemd/logind.conf
14 [Login]
15 #NAutoVTs=6
16 #ReserveVT=6
17 #KillUserProcesses=no
18 #KillOnlyUsers=
19 #KillExcludeUsers=root
20 #InhibitDelayMaxSec=5
21 #HandlePowerKey=poweroff
22 #HandleSuspendKey=suspend
23 #HandleHibernateKey=hibernate
24 #HandleLidSwitch=suspend
25 HandleLidSwitch=ignore
#HandleLidSwitch=suspend 에서 HandleLidSwitch의 주석을 제거하거나 한 줄 더 복사하여 옵션을 설정합니다.
lock: 모니터만 꺼짐 (원격 서버로 사용할 경우 추천)
ignore: 아무것도 하지 않음
poweroff: 전원 꺼짐
hibernate: 최대 절전모드
재시작 명령어 : systemctl restart systemd-logind.service
이렇게 설정하면 우분투 노트북의 덥개를 닫아도 안 꺼짐.
Java – UTC 정보 출력 방법 (0) | 2019.10.28 |
---|---|
Eclipse color 설정 (0) | 2019.08.22 |
우분투 apt-get 명령어 (0) | 2019.07.24 |