2007-12-23

Handling two monitors for nVidia card on Linux

by Forrest Sheng Bao http://fsbao.net

I like using many monitors while working, laying different stuffs on different monitors. So I don't need to switch between different windows. There are many ways to handle multiple monitors on Linux. Here is the simplest way-just editing xorg.conf file.

First install proper driver. Then follow the instruction on this page: https://help.ubuntu.com/community/XineramaHowTo

Add these lines into Section "Device"
         Option      "TwinView"                 "true"
Option "RenderAccel" "true"
Option "UseEdidFreqs" "true"
Option "MetaModes" "1280x1024,1280x1024;1024x768,NULL;800x600,800x600;640x480,640x480"


Set proper modes in Section "Screen"
                Modes           "2560x1024" "1280x1024" "1024x768"      "832x624"       "800x600"       "720x400"       "640x480"


My configuration to Section "module "
Section "Module"
Load "glx"
EndSection

No comments: