All pastes #405155 Raw Edit

Someone

public text v1 · immutable
·published 2007-03-21 15:30 UTC
rendered paste body

# **********************************************************************
# 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.
# **********************************************************************
# **********************************************************************
# Server flags section.  This contains various server-wide Options.
# **********************************************************************
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
# **********************************************************************
# Screen sections.
# **********************************************************************

Section "ServerLayout"

# The Identifier line must be present
	Identifier     "Main Layout"
	Screen      0  "Screen 1" 0 0
	InputDevice    "Mouse1" "CorePointer"
	InputDevice    "Mouse2" "SendCoreEvents"
	InputDevice    "Mouse3" "SendCoreEvents"
	InputDevice    "stylus" "SendCoreEvents"
	InputDevice    "cursor" "SendCoreEvents"
	InputDevice    "eraser" "SendCoreEvents"
	InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"

    #FontPath	"/usr/share/fonts/local/"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/75dpi/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/corefonts"
EndSection

Section "Module"
	Load  "dbe"
	Load  "i2c"
	Load  "glx"
	Load  "ddc"
	Load  "type1"
	Load  "freetype"
	Load  "extmod"
	Load  "synaptics"
	Load  "vbe"
#   Load        "dri"
EndSection

Section "ServerFlags"
	Option	    "AllowMouseOpenFail" "true"
	Option	    "AIGLX" "true"
EndSection

Section "InputDevice"

    #synclient TouchpadOff=1 disable your synaptics touchpad
    #synclient TouchpadOff=0 enable your synaptics touchpad
	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.
EndSection

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "kbd"
	Option	    "AutoRepeat" "500 5"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
	Option	    "XkbRules" "xorg"
EndSection

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

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
	Identifier  "stylus"
	Driver      "wacom"
	Option	    "Device" "/dev/wacom"          # Change to 
	Option	    "Type" "stylus"
	Option	    "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
	Identifier  "eraser"
	Driver      "wacom"
	Option	    "Device" "/dev/wacom"          # Change to 
	Option	    "Type" "eraser"
	Option	    "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
	Identifier  "cursor"
	Driver      "wacom"
	Option	    "Device" "/dev/wacom"          # Change to 
	Option	    "Type" "cursor"
	Option	    "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
	Identifier   "ViewSonic E70f"
 ### Comment all HorizSync and VertSync values to use DDC:
	HorizSync    31.5 - 64.3
	VertRefresh  40.0 - 150.0
EndSection

Section "Device"

 # do not remove vesa
    #Option "XAANoOffscreenPixmaps"
    #Option "BusType" "PCI"
    #Option "ColorTiling" "on"
    #Option "EnablePageFlip" "on"
	Identifier  "VESA"
	Driver      "nvidia"
EndSection

Section "Screen"

# The Identifier, Device and Monitor lines must be present
	Identifier "Screen 1"
	Device     "VESA"
	Monitor    "ViewSonic E70f"
	DefaultDepth     24
	Option	    "AddARGBGLXVisuals" "true"
# The favoured Depth and/or Bpp may be specified here
	SubSection "Display"

        #Modes		"1024x768" "800x600" "640x480"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"

        #Modes		"1024x768" "800x600" "640x480"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"

        #Modes		"1024x768" "800x600" "640x480"
		Viewport   0 0
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "Enable"
EndSection