[Trisquel-users] HOw to darken/turn off only one screen

Mason Hock mason at masonhock.com
Wed Feb 20 02:04:13 CET 2019


If that doesn't work, you could just use xrandr to turn the screen on or
off.

First, run

$ xrandr | grep primary

to find out the name of your laptop screen. (I'm assuming that your
laptop screen is your primary display.) For me the output is

$ xrandr | grep primary
LVDS1 connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 163mm

so the name of my laptop screen is LVDS1.

I can then turn it off with

$ xrandr --output LVDS1 --off

and on with

$ xrandr --output LVDS1 --auto

Then map these to convenient keyboard shortcuts.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://listas.trisquel.info/pipermail/trisquel-users/attachments/20190219/fefb463b/attachment.pgp>


More information about the Trisquel-users mailing list