View Single Post
Old 05-23-10, 04:19 PM   #1
Registered User
Join Date: Aug 2007
Posts: 39
Default Attach 2nd display to notebook and clone image


I have a notebook that does 1600x900 and has a G210M chip. I have attached a 2nd TFT to the VGA connector and it is a Samsung that can do 1680x1050.

What i would like to have is two *identical* desktops, one at the laptop at 1600x900 and the other on the 2nd external monitor at 1680x1050.

So, when I connect to the external monitor i always get the same desktop. I have played with the nVidia Xorg tool, but to no avail. I have no clue what it means to place the 2nd screen "above", "below", "right" or "left". I want to exactly clone my desktop...

What would be the syntax for xorg.conf? Or how could i do this with the Xorg nVidia tool ?

Ok, i was able to enable TwinView, but it is odd, I can see my desktop on the 2nd monitor, but when i start an application the app is been seen on the notebook... this is not what I want, I want an exact clone...

SOLVED I was now able to create a xorg.conf that does the job, see below. I created it with the nVidia tool. I can now plug in my external monitor, restart X and then have my desktop on the big monitor. Can unplug it again, restart X and then have my notebook desktop again.

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder58)  Thu Apr 22 20:36:15 PDT 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"

Section "Files"

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce G210M"

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT: 1680x1050_60 +0+0, DFP: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24

Last edited by pinguin74; 05-24-10 at 03:05 PM. Reason: issue solved
pinguin74 is offline   Reply With Quote