HOME TIP & TECH

TIP & TECH

TIP & TECH More information
laptop(랩탑) 의 뚜껑을 덮어도 꺼지지 않는법 - systemd

onionmixer 2021-10-21 19:23:57 1075

/etc/systemd/logind.conf 파일에서 다음의 내용을 편집해서 적용한다

HandleLidSwitch=ignore

이후에 다음의 방법으로 logind 를 재시작한다.

systemctl restart systemd-logind

위처럼 처리할게 아니라면.. 1시간정도 임시로 suspend time 을 조절할 수 있다.

systemd-inhibit --what=handle-lid-switch sleep 1d

댓글 0개

Previous / Next
Previous linux 에서 여러가지 시스템 정보 확인법
Next sheepshaver 관련된 정보 link 들