# The ordering of sections is not important in version 4.0 and later. Section "Files" # For XFS, uncomment this and comment the others # FontPath "unix/:-1" FontPath "/usr/share/fonts/local/" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/75dpi/:unscaled" FontPath "/usr/share/fonts/100dpi/:unscaled" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/CID/" FontPath "/usr/share/fonts/Speedo/" FontPath "/usr/share/fonts/75dpi/" FontPath "/usr/share/fonts/100dpi/" EndSection # ********************************************************************** # Module section -- this is an optional section which is used to specify # which run-time loadable modules to load when the X server starts up. # ********************************************************************** Section "Module" Load "glx" Load "dbe" SubSection "extmod" Option "omit xfree86-dga" EndSubSection Load "type1" Load "freetype" Load "synaptics" Load "vnc" EndSection # ********************************************************************** # Server flags section. This contains various server-wide Options. # ********************************************************************** Section "ServerFlags" # Option "DontZap" # Option "DontZoom" # Option "DisableVidModeExtension" # Option "AllowNonLocalXvidtune" # Option "DisableModInDev" # Option "AllowNonLocalModInDev" # Set the basic blanking screen saver timeout. Option "blank time" "10" # 10 minutes Option "standby time" "20" Option "suspend time" "30" Option "off time" "60" # Option "EstimateSizesAggresively" "0" EndSection # ********************************************************************** # Input devices # ********************************************************************** # ********************************************************************** # Core keyboard's InputDevice section # ********************************************************************** Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "AutoRepeat" "500 5" Option "XkbOptions" "ctrl:nocaps" EndSection # ********************************************************************** # Core Pointer's InputDevice section # ********************************************************************** Section "InputDevice" # Identifier and driver Identifier "Mouse1o" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/mouse" Option "maxtaptime" "0" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" # Option "Protocol" "Auto" Option "Protocol" "ImPS/2" Option "Device" "/dev/input/mice" EndSection Section "InputDevice" # Thanks, Jeff Houze Identifier "Mouse1" Driver "synaptics" Option "SendCoreEvents" Option "Device" "/dev/input/mouse2" # eventX number may vary depending on the laptop model Option "Protocol" "auto" # Next line required only if you want to disable the mousepad while typing: Option "SHMConfig" "on" Option "MinSpeed" "0.4" Option "MaxSpeed" "1.0" Option "AccelFactor" "0.04" Option "LeftEdge" "120" Option "RightEdge" "830" Option "TopEdge" "120" Option "BottomEdge" "650" Option "FingerLow" "14" Option "FingerHigh" "15" Option "MaxTapTime" "0" Option "MaxTapMove" "110" Option "EmulateMidButtonTime" "75" Option "VertScrollDelta" "20" Option "HorizScrollDelta" "20" Option "EdgeMotionMinSpeed" "200" Option "EdgeMotionMaxSpeed" "200" Option "UpDownScrolling" "1" # Option "CircularScrolling" "1" # Option "CircScrollDelta" "0.1" # Option "CircScrollTrigger" "2" EndSection # ********************************************************************** # Monitor section # ********************************************************************** Section "Modes" Identifier "16:9" ModeLine "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054 1087 ModeLine "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054 1087 ModeLine "1680x1050" 188.1 1680 1800 1984 2288 1050 1051 1054 1096 ModeLine "1680x1050" 214.5 1680 1800 1984 2288 1050 1051 1054 1103 EndSection Section "Monitor" Identifier "hp_tft" # DisplaySize 330 210 HorizSync 31.5-90 VertRefresh 60 UseModes "16:9" Option "DPMS" "on" Option "UseEdidFreqs" "true" EndSection Section "Monitor" Identifier "vg150" # Option "noddc" "true" Option "UseEdidFreqs" "true" HorizSync 30.00-62.00 VertRefresh 50.00-60.00 EndSection Section "Monitor" Identifier "ntsc" Option "TVStandard" "NTSC-M" # I don't know what to do with this: # Option "TVStandard" "HD480p" Option "TVOutFormat" "SVIDEO" # Option "TVOutFormat" "COMPOSITE" Option "TVOverScan" "1.0" HorizSync 30-50 VertRefresh 60 EndSection # Any number of monitor sections may be present Section "Monitor" Identifier "Generic Monitor" Mode "640x480" DotClock 25.175 HTimings 640 664 760 800 VTimings 480 491 493 525 EndMode EndSection # ********************************************************************** # Graphics device section # ********************************************************************** # Any number of graphics device sections may be present Section "Device" Identifier "Generic VGA" Driver "vga" EndSection Section "Device" Identifier "motherboard" Driver "nvidia" # Driver "nv" EndSection Section "Device" Identifier "mb2" Driver "nvidia" BusId "PCI:1:0:0" Screen 0 # Option "ConnectedMonitor" "dfp" EndSection Section "Device" Identifier "mb2.1" Driver "nvidia" BusId "PCI:1:0:0" Screen 1 # Option "ConnectedMonitor" "crt" EndSection Section "Device" Identifier "mb2.0crt" Driver "nvidia" BusId "PCI:1:0:0" Screen 0 # Option "ConnectedMonitor" "crt" EndSection Section "Device" Identifier "tv" Driver "nvidia" BusId "PCI:1:0:0" Screen 1 # Option "ConnectedMonitor" "tv" EndSection # ********************************************************************** # Screen sections. # ********************************************************************** Section "Screen" # The Identifier, Device and Monitor lines must be present Identifier "Screen 1" Device "motherboard" Monitor "hp_tft" # The favoured Depth and/or Bpp may be specified here DefaultDepth 24 Option "passwordfile" "/root/.vnc/passwd" # Option "ConnectedMonitor" "DFP-0" Option "UseDisplayDevice" "DFP-0" SubSection "Display" Depth 24 Modes "1680x1050" EndSubsection EndSection Section "Screen" Identifier "Screen 2" Device "mb2" Monitor "hp_tft" DefaultDepth 24 # Option "ConnectedMonitor" "DFP-0" Option "UseDisplayDevice" "DFP-0" SubSection "Display" Depth 24 Modes "1680x1050" EndSubsection EndSection Section "Screen" Identifier "Screen 2.1o" Device "mb2.0crt" Monitor "vg150" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" EndSubsection EndSection Section "Screen" Identifier "Screen 2.1" Device "mb2.1" Monitor "vg150" DefaultDepth 24 # Option "ConnectedMonitor" "CRT-0" Option "UseDisplayDevice" "CRT-0" SubSection "Display" Depth 24 Modes "1024x768" EndSubsection EndSection Section "Screen" Identifier "television" Device "tv" Monitor "ntsc" DefaultDepth 24 Option "UseDisplayDevice" "TV" Option "tvoutformat" "composite" SubSection "Display" Depth 24 Virtual 640 480 Modes "640x480" # "720x480" EndSubsection EndSection Section "Screen" Identifier "infocus x1" Device "mb2.1" Monitor "generic monitor" DefaultDepth 24 SubSection "Display" Depth 24 modes "800x600" EndSubsection EndSection Section "Screen" Identifier "sharp xr-11xc" Device "mb2.1" Monitor "generic monitor" DefaultDepth 24 SubSection "Display" Depth 24 modes "1024x768 EndSubsection EndSection # ********************************************************************** # ServerLayout sections. # ********************************************************************** # Any number of ServerLayout sections may be present. Each describes # the way multiple screens are organised. A specific ServerLayout # section may be specified from the X server command line with the # "-layout" option. In the absence of this, the first section is used. # When now ServerLayout section is present, the first Screen section # is used alone. Section "ServerLayout" Identifier "mono" Screen "Screen 2" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse0" "SendCoreEvents" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "WithTV Screen 0 "Screen 2" Screen 1 "Television" leftOf "Screen 2" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "WithVG150" Screen 0 "Screen 2" Screen 1 "Screen 2.1" rightof "Screen 2" # Screen 1 "Screen 2.1" above "Screen 2" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse0" "SendCoreEvents" EndSection Section "ServerLayout" Identifier "VG150" Screen "Screen 2.1o" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "xorg" Screen "Screen 1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "WithInfocusX1" Screen 0 "Screen 2" Screen 1 "infocus x1" leftOf "Screen 2" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "WithSharpXR11XC" Screen 0 "Screen 2" Screen 1 "sharp xr-11xc" leftOf "Screen 2" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection