Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to configure my xorg.conf file to have two displays, one is my laptop and the other is a HD screen. I honestly didn't write the xorg.conf file, but used nvidia-settings program which does it for me automatically .. here is the script:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 319.32  (buildmeister@swio-display-x64-rhel04-14)  Wed Jun 19 15:50:23 PDT 2013

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

Section "Files"
    FontPath        "/usr/share/fonts/default/Type1"

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

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

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DVL SVX1920-A"
    HorizSync       14.0 - 85.0
    VertRefresh     30.0 - 76.0
    Option         "DPMS"

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 330M"

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "CRT: 1920x1200 +0+0, DFP: 1920x1080 +0+1200"
    SubSection     "Display"

I can see when I restart both of the screens, my only problem is that the main display is considered to be the HD monitor rather than my laptop, which I don't really want. What I get from some websites online that this thing define the main display, but it doesn't in my case

Option         "nvidiaXineramaInfoOrder" "DFP-0"

I also tried this option and wasn't successful as well :

Option      "Primary" "true"

I have tried different configuration as well, and didn't work for me I will post it if someone wants to know more

share|improve this question
Have you tried using xrandr? That's what I use on my laptop because it isn't always connected to the monitor. When I am connected, I run it to display on both monitors. See here: wiki.archlinux.org/index.php/Xrandr –  J David Smith Oct 3 '13 at 11:53
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.