# ********************************************************************** # This is a sample configuration file only, intended to illustrate # what a config file might look like. Refer to the XF86Config(4/5) # man page for details about the format of this file. This man page # is installed as /usr/X11R7/man/man5/XF86Config.5x # ********************************************************************** # ********************************************************************** # Any number of ServerLayout sections may be present. Each describes # the way multiple screens are organised. A specific ServerLayout # section may be specified from the X server command line with the # "-layout" option. In the absence of this, the first section is used. # When now ServerLayout section is present, the first Screen section # is used alone. #Section "ServerLayout" # The Identifier line must be present # Identifier "Main Layout" # Each Screen line specifies a Screen section name, and optionally # the relative position of other screens. The four names after # primary screen name are the screens to the top, bottom, left and right # of the primary screen. In this example, screen 2 is located to the # right of screen 1. # Screen "Screen MGA 1" "" "" "" "Screen MGA 2" # Screen "Screen MGA 2" "" "" "Screen MGA 1" "" # Each InputDevice line specifies an InputDevice section name and # optionally some options to specify the way the device is to be # used. Those options include "CorePointer", "CoreKeyboard" and # "SendCoreEvents". In this example, "Mouse1" is the core pointer, # and "Mouse2" is an extended input device that also generates core # pointer events (i.e., both mice will move the standard pointer). # InputDevice "Mouse1" "CorePointer" # InputDevice "Mouse2" "SendCoreEvents" # InputDevice "Keyboard1" "CoreKeyboard" #EndSection Section "ServerLayout" Identifier "simple layout" Screen 0 "MainScreen" 0 0 InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection 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. # 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) # ModulePath can be used to set a search path for the X server modules. # The default path is shown here. # ModulePath "/usr/X11R7/lib/modules" # RgbPath "/usr/X11R7/lib/X11/rgb" FontPath "/usr/X11R7/lib/X11/fonts/misc/" FontPath "/usr/X11R7/lib/X11/fonts/TTF/" FontPath "/usr/X11R7/lib/X11/fonts/Type1/" FontPath "/usr/X11R7/lib/X11/fonts/75dpi/" FontPath "/usr/X11R7/lib/X11/fonts/100dpi/" EndSection Section "Module" # Need fb before exa, or exa won't load # initialisation of the XFree86-DGA extension within that module. # This loads the Type1 and FreeType font modules Load "fb" Load "exa" Load "dri" Load "dbe" Load "glx" Load "extmod" Load "freetype" EndSection Section "ServerFlags" # sequences. This allows clients to receive these key events. # Option "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. # Option "DisableVidModeExtension" # Uncomment this to disable dynamically modifying the input device # (mouse and keyboard) settings. # Option "DisableModInDev" # Set the basic blanking screen saver timeout. # Set the DPMS timeouts. These are set here because they are global # rather than screen-specific. These settings alone don't enable DPMS. # It is enabled per-screen (or per-monitor), and even then only when # the driver supports it. # memory and pio ranges. This is done by assuming that PCI ranges # don't overlap. Some broken BIOSes tend to set ranges of inactive # devices wrong. Here one can adjust how aggressive the assumptions # should be. Default is 0. # Option "EstimateSizesAggresively" "0" Option "Xinerama" "false" Option "DefaultServerLayout" "simple layout" Option "DontVTSwitch" "false" Option "VTSysReq" "off" Option "HandleSpecialKeys" "always" Option "BlankTime" "0" # disable Option "Standby Time" "2" Option "Suspend Time" "3" Option "Off Time" "4" #Option "AllowEmptyInput" "false" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" # Identifier and driver # 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" # 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" # Option "Protocol" "IntelliMouse" # the following instead of any of the lines above. The Device line # is not required in this case. # Option "Protocol" "Xqueue" # Baudrate and SampleRate are only for some older Logitech mice. In # almost every case these lines should be omitted. # Option "BaudRate" "9600" # Option "SampleRate" "150" # Emulate3Buttons is an option for 2-button mice # Emulate3Timeout is the timeout in milliseconds (default is 50ms) # Option "Emulate3Buttons" # Option "Emulate3Timeout" "50" Identifier "Mouse1" Driver "mouse" Option "Device" "/dev/input/mice" # On platforms where PnP mouse detection is supported the following Option "Protocol" "IMPS/2" Option "Buttons" "5" Option "ZAxisMapping" "4 5" # When using XQUEUE (only for SVR3 and SVR4, but not Solaris), use EndSection Section "Monitor" # The identifier line must be present. # 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 31.5 # typical for a single frequency fixed-sync monitor # HorizSync 30-64 # multisync # HorizSync 31.5, 35.2 # multiple fixed sync frequencies # HorizSync 15-25, 30-50 # 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 60 # typical for a single frequency fixed-sync monitor # VertRefresh 50-100 # multisync # VertRefresh 60, 65 # multiple fixed sync frequencies # VertRefresh 40-50, 80-100 # multiple ranges of sync frequencies # VertRefresh 49-75 # Modes can be specified in two formats. A compact one-line format, or # a multi-line format. # A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz) # These two are equivalent # ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525 # ModeLine "800x600" 56.30 800 828 892 1032 600 601 604 631 +hsync +vsync # ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace Identifier "Generic Monitor" # HorizSync 30.0 - 60.0 # VertRefresh 49.0 - 60.0 # ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync # Option "PreferredMode" "1280x1024" # HorizSync is in kHz unless units are specified. Option "dpms" # If a monitor requires that the sync signals be superimposed on the # green signal, the following option will enable this when used with # drivers that support it. Only a relatively small range of hardware # (and drivers) actually support this. # Option "sync on green" EndSection Section "Device" #Driver "radeonhd" Driver "ati" Identifier "X1250" #Option "TVStandard" "pal" #Option "DMAForXv" "false" Option "AccelMethod" "EXA" Option "DRI" "on" EndSection Section "Device" Identifier "VGA" Driver "vga" EndSection Section "Screen" # The Identifier, Device and Monitor lines must be present # The favoured Depth and/or Bpp may be specified here # SubSection "Display" # Depth 8 # Modes "800x600" "1024x768i" "640x480" # ViewPort 0 0 # Virtual 640 580 # EndSubsection #SubSection "Display" # Depth 24 # Modes "640x480" # ViewPort 0 0 # Virtual 800 600 #EndSubsection #SubSection "Display" # Depth 1 # Modes "640x480" #EndSubSection Identifier "MainScreen" Device "X1250" #Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Viewport 0 0 Virtual 1680 1050 Depth 24 # Modes "1680x1050" "1280x960" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Extensions" Option "Composite" "disable" EndSection