# Put this in /etc/X11/XF86Config # # This is the config I use. I know it is not optimal but hey, it works for me (tm) # If you want nice true type fonts download ttf_fonts.tar.gz and read README file # # Enjoy! # # -Georgi # Section "Module" Load "dbe" Load "dri" SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection Load "freetype" Load "type1" # Load "xtt" Load "speedo" Load "glx" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/cyr-psfonts/" FontPath "/usr/X11R6/lib/X11/fonts/cyrrilic/" # FontPath "/usr/X11R6/lib/X11/fonts/local/" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "Keyboard" Option "AutoRepeat" "500 30" Option "XkbModel" "pc104" EndSection # I use framebuffer, so this is not the real refresh anyway... Section "Monitor" Identifier "My Monitor" HorizSync 31.5 - 50.0 VertRefresh 40-90 EndSection Section "Monitor" DisplaySize 400 300 # mm Identifier "NEC" VendorName "NEC" ModelName "NEC E1100" Option "DPMS" HorizSync 31.5 - 50.0 VertRefresh 40-90 EndSection Section "Device" Identifier "VESA Framebuffer" Driver "fbdev" #VideoRam 4096 # Insert Clocks lines here if appropriate EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "SWcursor" # [] Option "HWcursor" # [] #Option "PciRetry" # [] #Option "SyncOnGreen" # [] #Option "NoAccel" # [] #Option "ShowCache" # [] #Option "Overlay" # [] #Option "MGASDRAM" # [] #Option "ShadowFB" # [] Option "UseFBDev" # [] #Option "ColorKey" # #Option "SetMclk" # #Option "OverclockMem" # [] #Option "VideoKey" # #Option "Rotate" # [] #Option "TexturedVideo" # [] #Option "Crtc2Half" # [] #Option "Crtc2Ram" # #Option "Int10" # [] #Option "AGPMode" # #Option "DigitalScreen" # [] #Option "TV" # [] #Option "TVStandard" # [] #Option "CableType" # [] #Option "NoHal" # [] #Option "SwappedHead" # [] Option "DRI" # [] Identifier "Card0" Driver "mga" VendorName "Matrox" BoardName "MGA G550 AGP" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "VESA Framebuffer" Monitor "My monitor" # Device "Card0" # Monitor "NEC" # DefaultDepth 16 Subsection "Display" Depth 8 # Modes "1280x1024" "1024x768" "800x600" EndSubsection Subsection "Display" Depth 16 # Modes "1280x1024" "1024x768" "800x600" EndSubsection Subsection "Display" Depth 24 # Modes "1280x1024" "1024x768" "800x600" EndSubsection Subsection "Display" Depth 32 # Modes "1280x1024" "1024x768" "800x600" EndSubsection EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" # If you have PS/2 mouse change "/dev/input/mice" to "/dev/psaux" # For serial mice use "/dev/ttySx" where x is the COM port number # Right now this is setup for USB mouse Option "Device" "/dev/input/mice" # I want my wheel button to work :) That's why I use "imps/2" # If imps/2 doesn't work try some of the other protocols # http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/other-formats/html_single/XFree86-Second-Mouse.html#PROTOCOL Option "Protocol" "imps/2" Option "ZAxisMapping" "4 5" # Option "Emulate3Buttons" "off" EndSection Section "ServerLayout" Identifier "Simple Layout" Screen "Screen0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection # If you want to disable CTRL-ALT-BACKSPACE uncomment # the lines bellow #Section "ServerFlags" # Option "DontZap" #EndSection