Is there a way to turn one monitor off in a dual-head setup?

2

2

Is there a DPMS option to turn one monitor off in a dual-head setup? I know the following can turn both off:

xset dpms force off

gatoatigrado

Posted 2010-05-11T17:03:11.467

Reputation: 1 075

4Try the power button? :D – marcusw – 2010-05-11T21:05:13.173

That won't force the window manager to keep things on one display. – gatoatigrado – 2010-11-22T00:00:32.770

Answers

4

xrandr --output $NAMEOFDISPLAY --off

György Andrasek

Posted 2010-05-11T17:03:11.467

Reputation: 205

That's probably a good idea. I want this for reading [on one monitor -- I have two set up vertically] ... at first I was thinking of something interruptable like dpms, but that would probably be too interruptable, and I could always hotkey it it turn back on. Thanks. Unfortunately my desktop is using nvidia twinview, so is xrandr ineligible :(. – gatoatigrado – 2010-07-17T06:37:53.990

2This is not really the same as DPMS-off: this resizes virtual desktop, whic is quite an intrusive change, since all the windows will be moved from their places to the remaining "visible" monitors. Though it seems the OP wanted exactly this. – Ruslan – 2017-05-20T20:35:49.790

3

If you are using the nvidia driver, you can use twinview metamodes. You can find everything in the driver manual. After configuring, you can switch by using

xrandr -s 1

or use a 0 if you want to switch back.

Tim

Posted 2010-05-11T17:03:11.467

Reputation: 31