My laptop starts up with incorrect screen settings

Johnny Rosenberg gurus.knugum at gmail.com
Mon May 27 15:22:28 UTC 2013


My main PC is a laptop with a 17" 1280×800 screen. I also connected an
external 23" 1920×1080 screen.

I run the ”recommended” nVidia driver (tried the Nouveau driver, but
it was slower than a snail that fell asleep during the race, and the
temperature ended up at ≈125 ℃) and /etc/X11/xorg.conf looks like
this:

# File starts here
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.88  (buildd at komainu)  Tue Apr  9
12:17:43 UTC 2013

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

Section "Files"
EndSection

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

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

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"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce Go 7300"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP-1: nvidia-auto-select +0+0, DFP-0:
nvidia-auto-select +320+1080"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
# File ends here
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––


It looks to me that the file is correct. I want my internal screen
below the external one, and centered horisontally. The login screen
looks OK, I think, but after logging in, I only have my external
screen, the internal one is black.
I can open the nVidia settings dialogue and do the proper settings
there, and it works until next time I log in.

Are there any more files that is read during logging in that maybe
could override the xorg.conf settings?


Johnny Rosenberg




More information about the ubuntu-users mailing list