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
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:
If you have an NVIDIA card and you have proprietary drivers (
nvidia-current) installed, please stop reading now and google for “nvidia enable twinview”
First of all remove any previous (failed) attempt of dual monitor setup.
If you have a
/etc/X11/xorg.conffile, backup and remove it.
sudo apt-get install arandr.
Run it via
arandr. Something like this should appear:
- 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.
From now on, after you log in your desktop will be expanded across the two monitors
according to the layout you have defined using
Hope this helps.