XF86Config-4
From MorphixWiki
bozelac basdro tadomersitvi oloeltsi letodr ractrcoalorp The configuration file XF86Config of the X Window System is used by the X server to set necessary configuration parameters. XFree86 uses a configuration file called XF86Config-4 for its initial setup.
Starting with version 4.4, XF86 has support for generating a usable configuration at run-time when no XF86Config(-4) file is provided. The initial version of this automatic configuration support is targeted at the most popular hardware and software platforms supported by XFree86. Some details about how this works can be found in the XFree86 and getconfig.
Starting with version 4.5, it is possible for this automatically generated configuration to supplement a partial static configuration. The partial static configuration can be used to provide non-default configuration details for things that are not currently handled by the automatic configuration mechanism.
Contents |
[edit] Sections
The XF86Config file is composed of a number of sections which may be present in any order. Each section has the form:
Section "SectionName" SectionEntry ... EndSection
The section names are:
- Files (XF86) File pathnames (optional)
- ServerFlags Server flags (optional)
- Module (XF86) Dynamic module loading (optional)
- InputDevice Input device description
- Device (XF86) Graphics device description
- VideoAdaptor Xv video adaptor description
- Monitor (XF86) Monitor description
- Modes Video modes descriptions
- Screen (XF86) Screen configuration
- ServerLayout Overall layout
- DRI DRI-specific configuration
- Vendor Vendor-specific configuration
Sections can appear in any order and there may be more than one section of each kind, for example, if you have more than one monitor, say a video projector and an on board LCD of a notebook.
The ServerLayout sections are at the highest level. They bind together the input and output devices that will be used in a session. The input devices are described in the InputDevice sections. Output devices usually consist of multiple independent components (e.g., and graphics board and a monitor). These multiple components are bound together in the Screen sections, and it is these that are referenced by the ServerLayout section. Each Screen section binds together a graphics board and a monitor. The graphics boards are described in the Device sections, and the monitors are described in the Monitor sections.
Config file keywords are case-insensitive, and "_" characters are ignored.
The Monitor sections are for the physical displaying devices, the Screen sections are for the logical displays, so you can have two monitors displaying the same contens or entirely different information.
The option "SWCursor" in the Device section for example controls whether the mouse pointer is mirrored on an external monitor or suppressed.
On typical unix like systems the file often is found in /etc/X11 (generally in /etc/X11/XF86Config-4 ) and a log file is in /var/log, typically named XFree86.0.log for the last start of X and XFree86.0.log.old for the previous one.
Inappropriate editing of this file may result in a black or inedible screen or might even damage the monitor, especially if it is a cathode ray tube.
If you need to change the configuration, be sure to know how to start the computer in text mode, so you can revert any changes to the last working configuration (see terminal and nano).
[edit] Version
Morphix actually uses XFree86 version 4.3.0. In any case, you can test it typing :
/usr/X11R6/bin/X -version
[edit] Tools
XFree doesnÃÂÃÂÃÂÃÂÃÂÃÂÃÂïÃÂÃÂÃÂÃÂÃÂÃÂÃÂÿÃÂÃÂÃÂÃÂÃÂÃÂÃÂýt run. How can I get a basic setup ?? Solution: let X do it for you; you can try one of the following commands:
* xf86config (note: for a text mode). * XFree86 -configure and xf86cfg (note:for a graphics mode
You can use the Morphix tool XMorph, the X settings tool.
[edit] See also
Wikipedia has an article about XF86Config
Debian Wiki has an article about XF86Config

