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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like