# # XF86Config example # # The ordering of sections is not important in version 4.0 and later. # ********************************************************************** # Files section. This allows default font and rgb paths to be set # ********************************************************************** Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" 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/CID/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/TrueType/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/pkg/lib/X11/fonts/TrueType/" FontPath "/usr/pkg/lib/X11/fonts/TTF/" EndSection # ********************************************************************** # Server flags section. This contains various server-wide Options. # ********************************************************************** Section "ServerFlags" Option "blank time" "10" # 10 minutes Option "standby time" "20" Option "suspend time" "30" Option "off time" "60" # Option "PCI type" "UniNorth" # Option "PCI type" "Bandit" Option "PCI type" "Grackle" EndSection # ********************************************************************** # Input devices # ********************************************************************** # ********************************************************************** # Core keyboard's InputDevice section # ********************************************************************** Section "InputDevice" Identifier "Keyboard1" Driver "keyboard" Option "Protocol" "wskbd" Option "Device" "/dev/wskbd0" # Option "Device" "/dev/wskbd1" # Option "AutoRepeat" "250 30" Option "XkbRules" "xfree86" # Option "XkbModel" "macusb" # Option "XkbModel" "macadb" # Option "XkbModel" "standard" Option "XkbLayout" "jp" # Option "XkbLayout" "us" Option "XkbVariant" "altjp" EndSection # ********************************************************************** # Core Pointer's InputDevice section # ********************************************************************** Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse" Option "ZAxisMapping" "4 5" # Option "Device" "/dev/wsmouse0" EndSection # ********************************************************************** # Monitor section # ********************************************************************** # Any number of monitor sections may be present Section "Monitor" Identifier "Generic Monitor" # HorizSync 27-82 # multisync # VertRefresh 30-72 # multisync Option "dpms" EndSection # ********************************************************************** # Graphics device section # ********************************************************************** Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "accel" # [] #Option "crt_screen" # [] #Option "composite_sync" # [] #Option "hw_cursor" # [] #Option "mmio_cache" # [] #Option "probe_clocks" # [] #Option "reference_clock" # #Option "shadow_fb" # [] #Option "sw_cursor" # [] Identifier "Mach64" Driver "ati" # Driver "r128" VendorName "ATI Technologies Inc" # BoardName "Mach64 LI" BoardName "3D Rage LT Pro" ChipSet "ati" ChipId 0x4c49 # ChipRev 0xdc BusID "PCI:0:17:0" # Chipset "mach64" # Identifier "Mach64" # Driver "ATI" # BusID "PCI:0:17:0" Option "noaccel" # Option "LcdSync" # Option "XaaNoMono8x8PatternFillRect" # Option "XaaNoScanlineCPUToScreenColorExpandFill" # Option "SWCursor" EndSection # ********************************************************************** # Screen sections. # ********************************************************************** Section "Screen" Identifier "Screen1" Device "Mach64" Monitor "Generic Monitor" # XXX 24bpp may be broken # DefaultDepth 8 DefaultDepth 16 # DefaultDepth 24 #SubSection "Display" #Depth 16 #Modes "800x600" #EndSubSection SubSection "Display" Depth 8 Modes "1024x768" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" EndSubSection SubSection "Display" Depth 32 Modes "1024x768" EndSubSection EndSection # ********************************************************************** # ServerLayout sections. # ********************************************************************** Section "ServerLayout" Identifier "Main Layout" Screen "Screen1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection # ********************************************************************** # Module section # ********************************************************************** Section "Module" Load "extmod" Load "freetype" Load "glx" Load "dbe" Load "record" Load "xtrap" Load "speedo" Load "type1" # Load "xtt" EndSection