#############################################################
#
#
# 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"

#   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(de)"
    XkbRules    "xfree86"
    XkbModel    "pc101"

EndSection



Section "Pointer"

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


    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	"320x200" 25 320 328 360 400 200 201 202 209 -hsync DoubleScan

    Modeline	"320x240" 31 320 336 368 416 240 241 242 251 -hsync DoubleScan

#   Modeline	"400x300" 25 400 424 464 528 300 301 302 314 -hsync DoubleScan

#   Modeline	"512x384" 42 512 544 600 688 384 385 386 401 -hsync DoubleScan

#   Modeline	"640x400" 23.35 640 656 720 800 400 401 404 417 -hsync
#   Modeline	"640x400" 31.50  640  672  736  832   400  401  404  445 -hsync +vsync

#   Modeline	"640x480" 28.55 640 664 728 816 480 481 484 500 -hsync
    Modeline	"640x480" 45.80  640  672  768  864   480  488  494  530 -hsync -vsync

#   Modeline	"800x600" 38.21 800 832 912 1024 600 601 604 622 -hsync
    Modeline	"800x600" 69.65  800  864  928 1088   600  604  610  640 -hsync -vsync

    Modeline	"960x720" 55.86 960 1008 1104 1248 720 721 724 746 -hsync

    Modeline	"1024x768" 64.10 1024 1080 1184 1344 768 769 772 795 -hsync
#   Modeline	"1024x768" 115.50 1024 1056 1248 1440   768  771  781  802 -hsync -vsync

    Modeline	"1152x864" 81.62 1152 1216 1336 1520 864 865 868 895 -hsync
#   Modeline	"1152x864" 135.00 1152 1464 1592 1776   864  864  876  908

    Modeline	"1280x1024" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -hsync
#   Modeline	"1280x1024" 135.00 1280 1312 1416 1664  1024 1027 1030 1064 

    Modeline  "1600x1200" 220 1600 1608 2264 2600  1200 1200 1205 1231 -hsync
#   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

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      "GLINT"
    VendorName      "ELSA"
    BoardName       "gloria"
#   Driver          "accel"
    DacSpeed        230 230 230 230
    Option          "no_accel"
#   Option          "sw_cursor"
#   Option          "xaa_benchmark"
#   Option          "pci_retry"
#   Option          "no_pixmap_cache"
EndSection



Section "Screen"

    Driver          "Accel"
    Device          "GLINT"
    Monitor         "GENERIC"

    DefaultColorDepth 16

    SubSection "Display"
	Depth		8
	Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "960x720" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
#	ViewPort	0 0
	Virtual		800 600
    EndSubSection

    SubSection "Display"
	Depth		15
	Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "960x720" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
#	ViewPort	0 0
	Virtual		800 600
    EndSubSection

    SubSection "Display"
	Depth		16
	Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "960x720" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
#	ViewPort	0 0
	Virtual		800 600
    EndSubSection

    SubSection "Display"
	Depth		24
	Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "960x720" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
	Modes		"800x600" "640x480"
#	ViewPort	0 0
	Virtual		800 600
    EndSubSection

    SubSection "Display"
	Depth		32
	Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "960x720" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
#	ViewPort	0 0
	Virtual		800 600
    EndSubSection

EndSection
