#############################################################
#
#
# See 'man XF86Config' for info on the format of this file
#
#
#############################################################

Section "Files"

    RgbPath    "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi"

#   ModulePath "/usr/X11R6/lib/modules"

EndSection



Section "Module"

#   DefaultColorDepth 32
#   DefaultColorDepth 16

#   Load "glx.so"
#   Load "pex5.so"

# This loads the module for the Joystick driver

#   Load "xf86Jstk.so"

EndSection



Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#   NoTrapSignals


# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#   DontZap


# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#   DontZoom


# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#   DisableVidModeExtension


# Uncomment this to enable the use of a non-local xvidtune client.

#   AllowNonLocalXvidtune


# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#   DisableModInDev


# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#   AllowNonLocalModInDev

EndSection



Section "Keyboard"

# choose one of the lines:

    Protocol   "Standard"
#   Protocol   "Xqueue"

    AutoRepeat  500 5


# Let the server do the NumLock processing.This should only be required
# when using pre-R6 clients

#   ServerNumLock


# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))

#   Xleds      1 2 3


# To set the LeftAlt to Meta, RightAlt key to ModeShift,
# RightCtl key to Compose, and ScrollLock key to ModeLock:

    LeftAlt     Meta
    RightAlt    ModeShift
#   RightCtl    Compose
#   ScrollLock  ModeLock


# To disable the XKEYBOARD extension, uncomment XkbDisable.

#   XkbDisable


# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:

#   XkbModel    "pc102"
#   XkbModel    "microsoft"


# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:

#   XkbLayout   "de"
    XkbLayout   "us"

#   XkbVariant  "nodeadkeys"


# If you'd like to switch the positions of your capslock and
# control keys, use:

#   XkbOptions  "ctrl:swapcaps"


# These are the default XKB settings for XFree86

    XkbKeymap   "xfree86(us)"
    XkbRules    "xfree86"
    XkbModel    "pc101"

EndSection




Section "Pointer"

#   Protocol    "Microsoft"
#   Protocol    "Xqueue"
#   Protocol    "PS/2"
    Protocol    "MouseMan"

    Device      "/dev/mouse"
#   Device      "/dev/cua0"


# Baudrate and SampleRate are only for some Logitech mice

#   BaudRate    9600
#   SampleRate  150


# Emulate3Buttons is an option for 2-button Microsoft mice

#   Emulate3Buttons


# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#   Emulate3Timeout    50


# ChordMiddle is an option for some 3-button Logitech mice

#   ChordMiddle


EndSection




Section "Monitor"

   Identifier      "GENERIC"
   VendorName      "Noname"
   ModelName       "Noname"

   HorizSync       27.0-92.0

   VertRefresh     50-160

#  Modeline "1600x1200" 195.00 1600 1632 1920 2272  1200 1201 1204 1250

#  Modeline "1600x1200" 162.00 1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync
#  Modeline "1280x1024" 135.00 1280 1312 1416 1664  1024 1027 1030 1064 

#  Modeline "1152x864"  135.00 1152 1464 1592 1776   864  864  876  908

   Modeline "1024x768"  109.50 1024 1056 1248 1440   768  771  781  802 -hsync -vsync
   Modeline "800x600"    69.65  800  864  928 1088   600  604  610  640 -hsync -vsync
#  Modeline "640x480"    45.80  640  672  768  864   480  488  494  530 -hsync -vsync
#  Modeline "640x400"    31.50  640  672  736  832   400  401  404  445 -hsync +vsync

EndSection



# Sample Device for accelerated server:

# Section "Device"

#  Identifier      "Actix GE32+ 2MB"
#  VendorName      "Actix"
#  BoardName       "GE32+"
#  Ramdac          "ATT20C490"
#  Dacspeed        110
#  Option          "dac_8_bit"
#  Clocks           25.0  28.0  40.0   0.0  50.0  77.0  36.0  45.0
#  Clocks          130.0 120.0  80.0  31.0 110.0  65.0  75.0  94.0

# EndSection



Section "Device"

   Identifier      "AT3D"
   VendorName      "Unknown"
   BoardName       "Hercules Stingray 128 3D"
#  Option          "no_accel"

EndSection



Section "Device"

   Identifier      "S3"
   VendorName      "Unknown"
   BoardName       "Unknown"

EndSection



Section "Device"

   Identifier      "MYSTIQUE"
   VendorName      "Unknown"
   BoardName       "Matrox Mystique"

EndSection



Section "Device"

   Identifier      "MACH64"
   VendorName      "Unknown"
   BoardName       "ATI Mach64"
   Chipset         "mach64"

EndSection



Section "Device"

   Identifier      "GLINT"
   VendorName      "ELSA"
   BoardName       "gloria"
#  Option          "no_accel"
#  Option          "sw_cursor"
#  Option          "xaa_benchmark"
#  Option          "pci_retry"
#  Option          "no_pixmap_cache"


EndSection



Section "Screen"

   Driver          "VGA16"

   Device          "MACH64"
#  Device          "GLINT"
#  Device          "AT3D"

   Monitor         "GENERIC"

   SubSection "Display"
      Depth        4
      Modes        "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
      ViewPort     0 0
   EndSubSection

EndSection



Section "Screen"

   Driver          "SVGA"

   Device          "MACH64"
#  Device          "GLINT"
#  Device          "AT3D"

   Monitor         "GENERIC"

   DefaultColorDepth 16

   SubSection "Display"
      Depth        8
      Modes        "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600"
      ViewPort     0 0
#     Virtual      1600 1200
#     Virtual      800 600
   EndSubSection

   SubSection "Display"
      Depth        16
      Modes        "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600"
      ViewPort     0 0
#     Virtual      1600 1200
#     Virtual      800 600
   EndSubSection

   SubSection "Display"
      Depth        24
      Modes        "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600"
      ViewPort     0 0
#     Virtual      1600 1200
#     Virtual      800 600
   EndSubSection

   SubSection "Display"
      Depth        32
      Modes        "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600"
      ViewPort     0 0
#     Virtual      1600 1200
#     Virtual      800 600
   EndSubSection

EndSection



Section "Screen"

   Driver          "Accel"

   Device          "MACH64"
#  Device          "GLINT"
#  Device          "S3"
#  Device          "AT3D"

   Monitor         "GENERIC"

   DefaultColorDepth 16 

   SubSection "Display"
      Depth        8
      Modes        "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600"
      ViewPort     0 0
#     Virtual      1600 1200
#     Virtual      800 600
   EndSubSection

   SubSection "Display"
      Depth        16
      Modes        "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600"
      ViewPort     0 0
#     Virtual      1600 1200
#     Virtual      800 600
   EndSubSection

   SubSection "Display"
      Depth        24
      Modes        "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600"
      ViewPort     0 0
#     Virtual      1600 1200
#     Virtual      800 600
   EndSubSection

   SubSection "Display"
      Depth        32
      Modes        "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600"
      ViewPort     0 0
#     Virtual      1600 1200
#     Virtual      800 600
   EndSubSection

EndSection
