Turn LCD monitor off

Hi all,

is there a way to turn my notebook LCD monitor off from terminal with a command (,not in a X-session).

I tried both

setterm --powersave powerdown 
setterm --powersave vsync

but both don’t work.

Thanks in return.

Remco

You can use xrandr to control monitors.

This command to discover the names of your devices and output modes available:

xrandr -q

For example, to turn off laptop display:

xrandr --output LVDS --off

To turn off an external monitor (named VGA-0):

xrandr --output VGA-0 --off

A good reference:

Xorg RandR 1.2 - ThinkWiki

Deano, you are a life-savior :slight_smile: Thank you very much, (my laptop also says that :slight_smile: ).

Cheers,

I had forgotten about this thread! Glad to see it worked for you. :slight_smile:

Another command that always worked for me:
xset dpms force off