Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use xset to turn off my screens like this:

xset dpms force off

Is there any way to turn off a single screen when you have more than one associated with the same X display?

share|improve this question

If you are using stock Ubuntu Desktop you should be able to use System > Preferences > Monitors. This should show all of your monitors, click on the one you wish to disable, and then use the 'on/off' radio buttons to disable that specific monitor.

If you want to do this from the command line you should be able to use xrandr --output --off to disable the output which should trigger the monitor to power down.

share|improve this answer
The problem is that when you're using Nvidia TwinView, both screens appear as one to both xrandr and xset, so you can't turn off the monitors individually. Also, Gnome Monitor Preferences is disabled and you have to use the Nvidia driver control instead. When you disable one of the monitors with nvidia-settings, it fully disables the monitor, jamming all of your windows on the other screen. I just want to shut one monitor off to watch a movie on the other. – Neil Nov 21 '10 at 15:15
@Neil It's probably useful to add your hardware information to the question and tag it with nvidia too. – Jorge Castro Nov 22 '10 at 2:17
@JorgeCastro it's not related to the hardware and TwinView: there appears to be no way to turn off a screen individually when it's on the same $DISPLAY, except from removing/disabling it from the RandR config. We want to turn off e.g. the laptop screen, but keep any windows there. – blueyed Mar 11 '15 at 15:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.