Turn Off Screen on Linux with Command Line

If you do not have screen off function keys in your keyboard then you can use following commands to turn your screen off.

First you need to find out your screen identifier:

$ xrandr --listmonitors

Monitors: 1
 0: +*LVDS1 1600/310x900/174+0+0 LVDS1

Then turn screen off with the following cmd:

xrandr --output LVDS1 --off

This will totally turn your screen off.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s