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

How can I reset dual display to one screen from command line and set old second screen as main display? (12.04 + nvidia)

share|improve this question
see this question on a similar topic, and the docs for NvidiaMultiMonitors and DynamicMultiMonitor. – Eliran Malka Oct 25 '12 at 11:57
you'd probably want to check out the nvidia-xconfig man page as well. it's all there. – Eliran Malka Oct 25 '12 at 12:00

I would recommend installing disper, a command line display manager.

Then you can do disper -S to make secondary only, or disper -e -t left to extend to the left for example.

Install via the software center

share|improve this answer

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.