# $XdotOrg: xc/programs/Xserver/hw/xfree86/xorgconf.cpp,v 1.2 2004/04/23 19:20:02 eich Exp $ # ********************************************************************** # Files section. This allows default font and rgb paths to be set # ********************************************************************** 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 "dbe" SubSection "extmod" Option "omit xfree86-dga" EndSubSection Load "type1" Load "freetype" Load "glx" EndSection # ********************************************************************** # Server flags section. This contains various server-wide Options. # ********************************************************************** Section "Extensions" Option "Composite" "Enable" EndSection Section "ServerFlags" # Option "NoTrapSignals" # Option "DontVTSwitch" # Option "DontZap" # Option "DontZoom" # Option "DisableVidModeExtension" # Option "AllowNonLocalXvidtune" # Option "DisableModInDev" # Option "AllowNonLocalModInDev" 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 "Protocol" "Xqueue" Option "AutoRepeat" "500 5" # Option "Xleds" "1 2 3" # Option "XkbDisable" # Option "XkbModel" "pc102" # Option "XkbModel" "pc105" # Option "XkbModel" "microsoft" # Option "XkbModel" "pc104" # Option "XkbLayout" "de" # Option "XkbVariant" "nodeadkeys" # Option "XkbOptions" "ctrl:swapcaps" Option "XkbModel" "pc102" Option "XkbVariant" "" Option "XkbLayout" "uk" EndSection # ********************************************************************** # Core Pointer's InputDevice section # ********************************************************************** Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/input/mice" # Option "BaudRate" "9600" # Option "SampleRate" "150" # Option "Emulate3Buttons" # Option "Emulate3Timeout" "50" # Option "ChordMiddle" EndSection Section "InputDevice" Identifier "cursor" Driver "wacom" Option "Device" "/dev/ttyS2" Option "Type" "cursor" Option "ForceDevice" "ISDV4" Option "Mode" "Absolute" Option "Button2" "3" EndSection Section "InputDevice" Identifier "stylus" Driver "wacom" Option "Device" "/dev/ttyS2" Option "Type" "stylus" Option "ForceDevice" "ISDV4" Option "Mode" "Absolute" Option "Button2" "3" EndSection #Section "InputDevice" # Identifier "touchscreen0" # Driver "microtouch" # Driver "elo2300" # Option "Device" "/dev/input/ts" # Option "Device" "/dev/ttyS0" # Option "ButtonThreshold" "17" # Option "MinX" "1412" # Option "MaxX" "15184" # Option "MinY" "15372" # Option "MaxY" "1230" # Option "ScreenNumber" "0" # Option "ReportingMode" "Scaled" # Option "ButtonNumber" "1" # Option "SendCoreEvents" # EndSection # ********************************************************************** # Monitor section # ********************************************************************** Section "Monitor" Identifier "Internal" HorizSync 32.5-60 VertRefresh 50-75 # ModeLine "1024x768" 75 1024 1032 1176 1344 768 832 846 1000 # ModeLine "1024x768" 45 1024 1048 1208 1264 768 776 784 817 Interlace # Option "dpms" # Option "sync on green" EndSection Section "Monitor" Identifier "External" HorizSync 32.5-75 VertRefresh 50-75 # ModeLine "1024x768" 75 1024 1032 1176 1344 768 832 846 1000 # ModeLine "1024x768" 45 1024 1048 1208 1264 768 776 784 817 Interlace # Option "dpms" # Option "sync on green" EndSection # ********************************************************************** # Graphics device section # ********************************************************************** Section "Device" Identifier "Nvidia" Driver "nvidia" # BusID "PCI:0:10:0" # Option "hw cursor" "off" # Option "TwinView" # Option "SecondMonitorHorizSync" "31-75" # Option "SecondMonitorVertRefresh" "50-75" # Option "TwinViewOrientation" "RightOf" # Option "MetaModes" "DFP-0: 1024x768; CRT-0: 1280x1024" # Option "ConnectedMonitor" "DFP-0,CRT-0" Option "NoLogo" # Option "RandR" "on" EndSection # ********************************************************************** # Screen sections. # ********************************************************************** Section "Screen" Identifier "Screen1" Device "Nvidia" Monitor "Internal" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" "1280x1024" "1600x1200" ViewPort 0 0 EndSubsection EndSection Section "Screen" Identifier "Screen2" Device "Nvidia" Monitor "External" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" "1280x1024" "1600x1200" ViewPort 0 0 EndSubsection SubSection "Display" Depth 24 Modes "1280x1024" "1280x1024" "1600x1200" ViewPort 0 0 EndSubsection SubSection "Display" Depth 24 Modes "1600x1200" "1280x1024" "1600x1200" ViewPort 0 0 EndSubsection EndSection # ********************************************************************** # ServerLayout sections. # ********************************************************************** Section "ServerLayout" Identifier "simple layout" Screen "Screen1" Screen "Screen2" LeftOf "Screen1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "cursor" "SendCoreEvents" InputDevice "stylus" "SendCoreEvents" EndSection