Section "Module" Load "extmod" Load "xie" Load "pex5" Load "glx" Load "dri" Load "GLcore" Load "dbe" Load "record" EndSection
Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" EndSection
Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "PS/2" Option "Device" "/dev/mouse" EndSection
Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection
Section "Device" Identifier "Card0" Driver "trident" VendorName "Trident" BoardName "3DImage985" BusID "PCI:1:0:0" EndSection
Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Depth 8 EndSubSection SubSection "Display" Depth 15 EndSubSection SubSection "Display" Depth 16 EndSubSection SubSection "Display" Depth 24 EndSubSection EndSection
Section "DRI" EndSection
Как видите, файл XF86Config состоит из нескольких секций, имеющих следующую структуру:
Section "Название_секции" Identifier "Name" SectionEntry ... EndSection