Monitor Sleep on Macbook with Ubuntu Server W/O X

My old MacBook should be used as a home server. How can i activate a display sleep on the console. There is no X installed. It's the first time I'm using a cli only installation.

At the moment there is a 17.x version installed, I want to upgrade it to 18.4 if I can solve the display problem. I don't need the "light" in my network rack :-)

I don't know how to start a search for this topic because it's quite special with a Notebook :-)

kr basti

1 Answer

Old Ubuntu versions. This may still work with 17.xx
Seek for this line in /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

You may add the option consoleblank=1

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash consoleblank=1"

OR
Try setterm --help | grep power to find the powersave and powerdown options. You'll find a way to set a 'suspend' delay.

OR
You may also have a look to TLP laptop mode tools

5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest