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

Mason Hock mason at masonhock.com
Wed Feb 20 18:40:07 CET 2019

> I would just map those two commands to some convenient shortcuts.

Or, if you don't want to have two different shortcuts, the following
script will toggle your display on/off.


if xrandr --listactivemonitors | grep $display; then
        xrandr --output $display --off
        xrandr --output $display --auto

-------------- 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/20190220/a330a6de/attachment.pgp>

More information about the Trisquel-users mailing list