Example xorg.conf

Here’s my xorg.conf for a nVidia GeForce 7300LE connected to a Grundig LCD TV through VGA with a resolution of 1360×768

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Wed Dec  9 16:34:26 PST 2009

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

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
        ModulePath   "/usr/lib64/xorg/modules/extensions"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/default/Type1"
EndSection

Section "InputDevice"

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

Section "InputDevice"

    # generated from data in "/etc/sysconfig/keyboard"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbLayout" "us"
        Option      "XkbModel" "pc105"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Unknown"
        ModelName    "Unknown"
        HorizSync    28.0 - 33.0
        VertRefresh  43.0 - 72.0
        Option      "DPMS"
EndSection

Section "Device"
        Identifier  "Device0"
        Driver      "nvidia"
        VendorName  "NVIDIA Corporation"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Device0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
        EndSubSection
EndSection

Post to Twitter