# Далее следует очень длинный список различных режимов работы
# монитора — ModeLine
# Я не привел его в листинге
EndSection
Section "Device"
Identifier "Generic VGA"
Chipset "generic"
EndSection
Section "Device"
Identifier "RIVA TNT2"
VendorName "Unknown"
BoardName "Unknown"
# Chipset "RIVATNT2"
# VideoRam 8192
Option "power_saver"
EndSection
Section "Screen"
Driver "svga"
Device "RIVA TNT2"
Monitor My Monitor
DefaultColorDepth 32
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x400"
Viewport 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0 EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Driver "vga16"
Device "Generic VGA"
Monitor " My Monitor "
Subsection "Display"
Modes "640x480" "800x600"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Driver "vga2"
Device "Generic VGA"
Monitor " My Monitor "
Subsection "Display"
Modes "640x480" "800x600"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Driver "accel"
Device "RIVA TNT2"
Monitor "My Monitor"
DefaultColorDepth 32
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x400"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
Viewport 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
Viewport 0 0
EndSubsection
EndSection
Section "Screen"
Driver "fbdev"
Device "RIVA TNT2"
Monitor " My Monitor "
DefaultColorDepth 32
Subsection "Display"
Depth 8
Modes "default"
Viewport 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "default"
Viewport 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "default"
Viewport 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "default"
Viewport 0 0
EndSubsection
EndSection
В секции Files указаны основные каталоги, необходимые для работы X Window. Обратите внимание на строку:
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
После установки русских шрифтов эту строку в файл конфигурации нужно добавить самостоятельно, после чего перезапустить сервер X — нажать комбинацию Ctrl+Alt+Backspace и заново запустить сервер с помощью команды System. Если ваша система настроена на автоматический запуск, завершите сеанс в вашем оконном менеджере и в окне регистрации в системе нажмите на кнопку «System». После чего выберите Restart X Server и нажмите на кнопку «OK».
Следующая секция — ServerFlags. В ней определяются глобальные переменные сервера. Часто эта секция пуста (все закомментировано).
В секции Keyboard конфигурируется клавиатура, а секция Pointer — мышь. В секции Monitor описываются параметры монитора. Один из них идентификатор —
Depth 32