Ubuntu – How to turn off the display via the command line

command linedisplaypower-management

Is there a way to turn off the display (enter power saving mode) using a command?

For example, when the computer is inactive for a specific interval, the screen turns off to conserve energy. Is there a way to manually turn off the screen, yet keep the computer running normally?

This is a notebook, so there's no 'power-off' button on the monitor itself.

Best Answer

I think you are looking for

xset dpms force off

However, you need to make sure that your acpi is enabled. You can check this with

cat /proc/acpi/info

Another option could be

setterm -powersave powerdown
Related Question