# ********************************************************************** # Modules section. # -Drivers and driver plugins that don't explicitly belong to a "device" # ********************************************************************** Section "Module" # Double buffer extension, I'm sure it's useful somewhere Load "dbe" # Not a d*** clue. SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection # Fonts Load "type1" Load "freetype" # Nvidia/OpenGL Load "glx" EndSection # ********************************************************************** # Files section. # -This allows default font and rgb paths to be set. # ********************************************************************** Section "Files" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/75dpi/" FontPath "/usr/share/fonts/100dpi/" FontPath "/usr/share/fonts/local/" EndSection # ********************************************************************** # Server flags section. # -Nothing to see here, move along. # ********************************************************************** Section "ServerFlags" EndSection # ********************************************************************** # Input devices - # -Mice, keyboards, tablets, etc. # ********************************************************************** # Keyboard Section "InputDevice" # Unique ID, used to reference the device elsewhere in this config file Identifier "Keyboard1" Driver "kbd" Option "AutoRepeat" "500 30" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection # Mouse Section "InputDevice" # Unique ID, used to reference the device elsewhere in this config file Identifier "Mouse1" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/input/mice" EndSection # ********************************************************************** # Video Cards # ********************************************************************** # Open a new device section for our VGA Card Section "Device" # Unique Device Name, used to reference the device elsewhere in this config file Identifier "6600GT" # Here we reference the driver Driver "nvidia" # More unique ID stuff, though this isn't used elsewhere, I believe # it helps in keeping track of device in your logs, so it can be anything VendorName "nVidia Corporation" # Same with "BoardName, this can be anything" BoardName "Gigabyte GeForce 6600GT" # Driver specific options (don't use these in your own, unless you know what they do. Option "AllowGLXWithComposite" "true" Option "ConnectedMonitor" "DFP" Option "NoLogo" "1" Option "RenderAccel" "on" Option "NVAGP" "0" Option "XvmcUsesTextures" "false" EndSection Section "Monitor" # Unique ID, used to reference the device elsewhere in this config file Identifier "Sony WEGA" # These are just like the VendorName and BoardName above in "Device" VendorName "Sony" ModelName "WEGA" # Careful with this one... Option "IgnoreEDID" VertRefresh 75 HorizSync 20-150 EndSection # ********************************************************************** # Monitors # -Your CRT, LCD, Plasma or Rear-Projection monitor(s) # ********************************************************************** Section "Monitor" # Unique ID, used to reference the device elsewhere in this config file Identifier "Sony WEGA" VendorName "Sony" ModelName "WEGA" Option "IgnoreEDID" VertRefresh 75 HorizSync 20-150 EndSection # ********************************************************************** # Screen sections # -X works with Screens. These are basically where the 'Monitor' and # 'Device' sections come together. You can have as many as you want, # provided you have the hardware for them, and it's set up above. # ********************************************************************** Section "Screen" # First, we name the Screen we're creating. Identifier "Screen0" # Next we name the video "Device" we created above with it's Unique ID Device "6600GT" # Now we tell it which monitor we're outputting to, again by using the Unique ID Monitor "Sony WEGA" # These are for the screen's resolution and depth DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x720" EndSubSection EndSection # ********************************************************************** # ServerLayout sections. # -This is where it all comes together. Here we define what get's put out. # ********************************************************************** Section "ServerLayout" Identifier "Simple Layout" Screen "Screen0" # Here we define the mouse and keyboard to use (arguement 1), and what they'll control (arguement 2) InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection