I’m running an old i7 2012-ish Macbook as a docker host since it still works and it’s pretty capable for the job.
The screen kept staying on while just sitting at the text login screen, which was a bit of a worry for the lifetime of the LCD.
I have finally figured out how to fix it! Woo! 🎉🥳🎉
Edit /etc/defaults/grub
and update the GRUB_CMDLINE_LINUX_DEFAULT
entry to have the following two entries:
GRUB_CMDLINE_LINUX_DEFAULT="acpi_backlight=vendor consoleblank=60"
Once you’re done with that, run sudo update-grub
and reboot, and the screen should blank after 60 seconds. If you set it to 0, it’ll never turn off, or any other number of seconds from there. 1 is really annoying, just sayin'.
I found the answer in Unix stackexchange post - “Disable screen blanking on text console”. I’d tried some of the other answers before but this one fixed it.
It’s an old problem for sure:
- Asked 10 years, 6 months ago
- Active 1 month ago
- Viewed 110k times