Super User is a question and answer site for computer enthusiasts and power users. 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 have a laptop that's running Ubuntu (gnome)
and to it there's a screen connected.
Now in the properties I have it set to Seperate X screen,
and now I want to know how do I make one of them close by a command.
So it wouldn't actually exit anything but only close a certain screen (not both).

share|improve this question
    
What do you mean by closing a screen? – David Z Sep 7 '10 at 21:19
up vote 0 down vote accepted

If you mean to "turn off display", you need the following magic word: xrandr!

$ xrandr --output CRT2 --off

This could have been named "screen_control" or "monitor_tools", but xrandr it is.

share|improve this answer
    
CRT2 not found, is there a way to get a list of the screen names? – Asaf Sep 8 '10 at 4:26
    
Either xrandr -q or maybe man xrandr – Charles Merriam Oct 4 '10 at 5:06

You must log in to answer this question.

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