Code Sample |
# File generated by xf86config. # XF86Config-4 Gateway Solo 2500 w/USB Mouse under Damn Small Linux 1.5 # ********************************************************************** # Module section -- this section is used to specify # which dynamically loadable modules to load. # ********************************************************************** # Section "Module" Load "dbe" # Double buffer extension SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection Load "type1" Load "speedo" # Load "freetype" # Load "xtt" # This loads the GLX module # Load "glx" # This loads the DRI module # Load "dri" EndSection # ********************************************************************** # Files section. This allows default font and rgb paths to be set # ********************************************************************** Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" #FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/Speedo" #FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" # The module search path. The default path is shown here. # ModulePath "/usr/X11R6/lib/modules" EndSection # ********************************************************************** # Server flags section. # ********************************************************************** Section "ServerFlags" # Removed this defualt section for ease of posting to forums EndSection # ********************************************************************** # Input devices # ********************************************************************** # ********************************************************************** # Core keyboard's InputDevice section # ********************************************************************** Section "InputDevice" Identifier "Keyboard1" Driver "Keyboard" Option "AutoRepeat" "500 30" Option "XkbRules" "xfree86" Option "XkbModel" "pc101" Option "XkbLayout" "us" EndSection # ********************************************************************** # Core Pointer's InputDevice section # ********************************************************************** Section "InputDevice" # Identifier and driver Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "4 5" EndSection # ********************************************************************** # Monitor section # ********************************************************************** # Any number of monitor sections may be present Section "Monitor" Identifier "My Monitor" # NOTE: THE VALUES HERE WORK FOR MY LAPTOP FACTORY DISPLAY. # REFER TO YOUR MONITOR'SUSER MANUAL FOR THE CORRECT NUMBERS. HorizSync 31.5-48.5 # NOTE: THE VALUES HERE WORK FOR MY LAPTOP FACTORY DISPLAY. # REFER TO YOUR MONITOR'SUSER MANUAL FOR THE CORRECT NUMBERS. VertRefresh 60-70 EndSection # ********************************************************************** # Graphics device section # ********************************************************************** Section "Device" Identifier "Standard VGA" VendorName "Unknown" BoardName "Unknown" Driver "vga" EndSection # Device configured by xf86config: Section "Device" Identifier "** NeoMagic (generic) [neomagic]" Driver "neomagic" #VideoRam 2048 # Insert Clocks lines here if appropriate EndSection # ********************************************************************** # Screen sections # ********************************************************************** Section "Screen" Identifier "Screen 1" Device "** NeoMagic (generic) [neomagic]" Monitor "My Monitor" DefaultDepth 16 Subsection "Display" Depth 8 Modes "800x600" "800x600" "800x600" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "800x600" "800x600" "800x600" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "800x600" "800x600" "800x600" ViewPort 0 0 EndSubsection EndSection # ********************************************************************** # ServerLayout sections. # ********************************************************************** Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection # Section "DRI" # Mode 0666 # EndSection |