
Turn off monitor using command line
I am runnning Ubuntu Server on my laptop. There is really no reason for the screen to be on. I have been trying to use this command to turn the screen off: sleep 1 && xset dpms force off…
데비안에서도 적용시킬 수 있다. 리눅스 설치할 때 GUI가 없으면 화면 보호기 기능이 없다. 모니터가 계속 켜져 있어야 한다. 그럴 때 grub의 옵션을 수정하면 화면을 끌 수가 있다. 이 방법대로 하면 사용자 입력이 없을 경우 60초 후에 화면이 꺼진다.
sudo nano /etc/default/grub
...
GRUB_CMDLINE_LINUX_DEFAULT="quiet consoleblank=60"
...
수정 후에 grub을 갱신시키면 적용된다.
sudo update-grub