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).

link|improve this question

50% accept rate
What do you mean by closing a screen? – David Zaslavsky Sep 7 '10 at 21:19
feedback

1 Answer

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.

link|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
feedback

Your Answer

 
or
required, but never shown

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