Classnotes | UNIX02 | RecentChanges | Preferences No diff available--this is the first major revision.
(no other diffs)XFree86 actually includes several different configuration files. However, modern Linux/UNIX OSes and modern XFree86 implimentations are really quite intelligent and you will likely only ever touch two files:
/etc/X11/XFree86 or /etc/X11/XFree86-4
The main XFree86 config file is layed out by regions known as 'Section's. The basic structure of a given Section is similar to the following:
Section "SomeSection"
Option Value
Option Value
... etc ...
EndSection
XFree86 4.2 introduced stronger support for fonts. This is the configuration file for it. It consists of many rules which are beyond the scope of this class, however, the most important section is the 'dir' listings at the beginning that tell XFree86 where to find it's fonts:
dir "/usr/X11R6/lib/X11/fonts/Type1?"
dir "/usr/share/fonts/ttf/western"
dir "/usr/share/fonts/ttf/decoratives"
dir "/usr/share/fonts/truetype/openoffice"
dir "/usr/X11R6/lib/X11/fonts/defoma/CID"
dir "/usr/X11R6/lib/X11/fonts/defoma/TrueType?"
dir "/usr/share/fonts/extra_ttf"
dir "/usr/share/fonts/truetype"
XFree86 4.3, which has been released recently, introduced a new and easier to configure font sub-system. It will not be covered here, but it should be noted that this that we cover here may be irrelevent in a few years.