# ********************************************************************** # 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 "i2c" Load "ddc" Load "type1" Load "freetype" Load "extmod" Load "synaptics" Load "vbe" # Load "dri" load "glx" load "GLcore" load "v4l" EndSection # ********************************************************************** # Core keyboard's InputDevice section # ********************************************************************** Section "InputDevice" Identifier "Mouse3" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" Option "SHMConfig" "on" # Do you keep moving the mouse while typing? Try this trick. #synclient TouchpadOff=1 disable your synaptics touchpad #synclient TouchpadOff=0 enable your synaptics touchpad EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "AutoRepeat" "500 5" Option "XkbModel" "pc105" Option "XkbLayout" "us" Option "XkbRules" "xorg" EndSection # ********************************************************************** # Core Pointer's InputDevice section # ********************************************************************** Section "InputDevice" # Identifier and driver Identifier "Mouse1" Driver "mouse" Option "Device" "/dev/psaux" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Mouse2" Driver "mouse" Option "Protocol" "ImPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" EndSection # ********************************************************************** # Monitor section # ********************************************************************** # Any number of monitor sections may be present Section "Monitor" Identifier "Generic Monitor" #Option "DPMS" VertRefresh 50 - 150 # multisync HorizSync 30 - 96 Modeline "1024x768@60" 75 1024 1048 1184 1328 768 771 777 806 -hsync -vsync EndSection # ********************************************************************** # Graphics device section # ********************************************************************** # Any number of graphics device sections may be present Section "Device" Identifier "VESA" Driver "nvidia" # do not remove vesa EndSection # ********************************************************************** # Screen sections. # ********************************************************************** Section "Screen" # For nvidia option "AddARGBGLXVisuals" "true" # The Identifier, Device and Monitor lines must be present Identifier "Screen 1" Device "VESA" Monitor "Generic Monitor" # The favoured Depth and/or Bpp may be specified here DefaultDepth 24 SubSection "Display" Depth 8 ViewPort 0 0 Modes "1280x1024" "1280x1024" "1024x768" EndSubsection SubSection "Display" Depth 16 ViewPort 0 0 Modes "1280x1024" "1280x1024" "1024x768" EndSubsection SubSection "Display" Depth 24 ViewPort 0 0 Modes "1280x1024" "1280x1024" "1024x768" EndSubsection EndSection Section "ServerLayout" # The Identifier line must be present Identifier "Main Layout" Screen 0 "Screen 1" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse2" "SendCoreEvents" InputDevice "Mouse3" "SendCoreEvents" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "DRI" Mode 0666 EndSection Section "Extensions" Option "Composite" "Enable" EndSection