2013-05-09

Dual monitor on Xubuntu 13.04, the easy way

On my development machine I got two monitors on the same NVIDIA card. So far, I’ve been using NVIDIA proprietary drivers to make everything (including dual monitor, aka “TwinView”) work fine.
I had to uninstall the proprietary drivers because they caused problems with the new 3.8.0 kernel, so I went back to nouveau drivers.

I’ve been desperately trying to restore my dual monitor setup with no luck, until I found this way I’m going to share with you. Please note that in my machine I have only one video card (NVIDIA GeForce 210) with two outputs: I don’t have two video cards. I don’t know if it makes any difference, but I guess it might.

Here it is:

  1. If you have an NVIDIA card and you have proprietary drivers (nvidia-current) installed, please stop reading now and google for “nvidia enable twinview”
  2. First of all remove any previous (failed) attempt of dual monitor setup. If you have a /etc/X11/xorg.conf file, backup and remove it.
  3. Install the arandr package via sudo apt-get install arandr.
  4. Run it via arandr. Something like this should appear:
    Arrange the monitors in order to reproduce your actual configuration, clicking the green tick to test your setup. If things don’t work now, they won’t work in the future.
  5. When you’re done arranging the monitors and you have managed to create a working setup, go to “Layout > Save as”, and save the layout in the default suggested location with the name you like.
  6. From now on, after you log in your desktop will be expanded across the two monitors according to the layout you have defined using arandr.

Hope this helps.

Tags: linux, xubuntu
comments powered by Disqus
Fork me on GitHub