3

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
2
  • 4
    Try the power button? :D
    – marcusw
    Commented May 11, 2010 at 21:05
  • That won't force the window manager to keep things on one display. Commented Nov 22, 2010 at 0:00

3 Answers 3

5

xrandr --output $NAMEOFDISPLAY --off

2
  • 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 :(. Commented Jul 17, 2010 at 6:37
  • 5
    This 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
    Commented May 20, 2017 at 20:35
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.

0

You can use ddccontrol to control dpms on individual monitors – without modifying the virtual desktop (→ moving windows etc.).

See my answer on a question that explicitly asked for this behaviour.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .