Ubuntu – command to turn the display off in Ubuntu

displayterminalUbuntu

When my Ubuntu machine is idle for a set period of time, the screen shuts off.

Is there a way to do that immediately using the terminal?

I'm guessing that it involves sending some sort of command to the x server.

Best Answer

xset dpms force off

should turn the screen off.

Related Question