XF86Config for XWindows 4/Kernel 2.4
 

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

        Rgbpath   "/var/X11R6/lib/rgb"

    #RgbPath    "/usr/X11R6.4/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

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

    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
 

# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.

    ModulePath  "/usr/X11R6/lib/modules"

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"

# This loads the DBE extension module.

#    Load       "dbe"

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.

    #SubSection "extmod"
#       Option  "omit xfree86-dga"
 #   EndSubSection

# This loads the Type1 and FreeType font modules

    Load        "type1"
    Load        "freetype"

EndSection
 

# **********************************************************************
# Server flags section.  This contains various server-wide Options.
# **********************************************************************

Section "ServerFlags"

# Set the basic blanking screen saver timeout.

#    Option     "blank time"    "10"    # 10 minutes

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "keyboard"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris), comment
# out the above line, and uncomment the following line.

#    Option     "Protocol"      "Xqueue"

# Set the keyboard auto repeat parameters.  Not all platforms implement
# this.

    Option      "AutoRepeat"    "250 50"
 

EndSection
 

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"

# The mouse protocol and device.  The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

#    Option     "Protocol"      "Microsoft"
    Option      "Device"        "/dev/mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

#    Option     "Protocol"      "Auto"

# When using mouse connected to a PS/2 port (aka "MousePort), set the
# the protocol as follows.  On some platforms some other settings may
# be available.

    Option "Protocol"   "PS/2"

# Emulate3Buttons is an option for 2-button mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

    Option      "Emulate3Buttons"
    Option      "Emulate3Timeout"       "50"

EndSection
 

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

# The identifier line must be present.

    Identifier  "Generic Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   30-95         # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
 

    VertRefresh 50-160        # multiple ranges of sync frequencies

# Modes can be specified in two formats.  A compact one-line format, or
# a multi-line format.
 

# This is a set of standard mode timings. Modes that are out of monitor spec
# are automatically deleted by the server (provided the HorizSync and
# VertRefresh lines are correct), so there's no immediate need to
# delete mode timings (unless particular mode timings don't work on your
# monitor). With these modes, the best standard mode that your monitor
# and video card can support for a given resolution is automatically
# used.

# Here are the modelines we're interested in

# 1024x768 @ 87 Hz interlaced, 35.5 kHz hsync
Modeline "1024x768" 44.9  1024 1048 1208 1264   768  776  784  817 Interlace
# 1024x768 @ 60 Hz, 48.4 kHz hsync
Modeline "1024x768" 65   1024 1032 1176 1344   768  771  777  806 -hsync -vsync
# 1024x768 @ 70 Hz, 56.5 kHz hsync
Modeline "1024x768" 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  "SIS VGA"
    # Notice we're using the framebuffer driver, fbdev, rather than
    # the SIS driver
        Driver  "fbdev"
      # Driver     "sis"
      #  Option     "hw cursor" "off"
    Option      "no_accel"  "on"
EndSection
 

# **********************************************************************
# Screen sections.
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.

Section "Screen"

# The Identifier, Device and Monitor lines must be present

    Identifier  "Screen SIS"
    Device      "SIS VGA"
    Monitor     "Generic Monitor"

# The favoured Depth and/or Bpp may be specified here

    DefaultDepth 16

    SubSection "Display"
        Depth           8
        Modes           "1024x768"
        ViewPort        0 0
    EndSubsection
    SubSection "Display"
        Depth           16
        Modes           "1024x768"
        ViewPort        0 0
    EndSubsection
    SubSection "Display"
        Depth           24
        Modes           "1024x768"
        ViewPort        0 0
    EndSubsection
EndSection
 
 

# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
    Identifier  "simple layout"
    Screen      "Screen SIS"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection