2022-11-18

archlinux laptop 덮개 덮을 때 휴면 모드 사용 / 사용안함 설정

이번에 archlinux에서 laptop 덮개를 덮은후 별도 모니터, 키보드, 마우스를 연결 하여 사용할 필요가 있었다.

macbook에서는 clamshell mode라고 부르는것 같다.

windows에서는 덮개 덮은 후 동작 안하게 설정 하면되서 10년 넘게 사용했었다.


archlinux에서 사용했던 명령어를 남긴다.

systemctl로 전원설정 변경하는거라 아마 다른 linux에서도 동일하게 사용가능 할것 같다.


laptop 덮개 덮을 때 휴면 모드 사용 안함 

$ sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target


laptop 덮개 덮을 때 휴면 모드 사용 함

$ sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target


댓글 없음:

댓글 쓰기