Sunday, June 5, 2011

To setup dual monitors in Ubuntu

 
To setup dual monitors in Ubuntu, we need to modify the file called xorg.conf inside of /etc/X11

1. After finished installing Ubuntu, go to your Terminal Window in Applications-Accessories-Terminal, then type the following:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf-old


This is to backup the original setting in case we need to reset the display.

2. Edit the xorg.conf by typing the following in the Terminal:

sudo gedit /etc/X11/xorg.conf

Make sure “glx” is under module section, if not replaced “nv” with “glx”

3. Edit Screen setting by insert these codes under the Screen

Option “RenderAccel” “true”

Option “TwinView”


Option “MetaModes” “1280×1024 1280×1024″ <—YOUR ACTUAL LCD’S RESOLUTIONS

Option “TwinViewOrientation” “RightOf”

You can use “LeftOf” or “BelowOf” if you’d like to

Save xorg.conf, and close it.

Now logout of your section. When you log back in, you should have your twinview working.

Troublshooting: If you cannot access login screen after restart/logout, enter username/password at command line, then type the following to restore your display:

sudo cp /etc/X11/xorg.conf-old /etc/X11/xorg.conf

Restart your system, your login screen should be back.

No comments:

Post a Comment

 
THANK YOU FOR VISITING