nixpkgs-suyu/upstart-jobs/xserver.conf
Eelco Dolstra ea9e6bdbac * Re-enable some essential X server modules (in particular
extmod, which contains XVideo).

svn path=/nixos/trunk/; revision=8857
2007-06-09 21:12:48 +00:00

99 lines
1.7 KiB
Text

Section "Files"
# Font directories.
@fontPaths@
# Module (driver) directories.
@modulePaths@
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "extmod"
Load "freetype"
Load "int10"
Load "type1"
Load "vbe"
@moduleSection@
EndSection
Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection
Section "InputDevice"
Driver "mouse"
Identifier "Mouse[0]"
Option "Device" "/dev/input/mice"
EndSection
Section "Monitor"
Identifier "Monitor[0]"
Option "DPMS"
# HorizSync 28-49
# VertRefresh 43-75
EndSection
Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes @resolutions@
EndSubSection
SubSection "Display"
Depth 24
Modes @resolutions@
EndSubSection
#SubSection "Display"
# Depth 32
# Modes @resolutions@
#EndSubSection
@screen@
EndSection
Section "Device"
Identifier "Device[0]"
Driver "@videoDriver@"
Option "Clone" "On"
#Option "MonitorLayout" "CRT,LFP"
Option "MonitorLayout" "LVDS,CRT"
@device@
EndSection
Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[0]" "CorePointer"
Screen "Screen[0]"
EndSection
Section "Extensions"
@extensions@
EndSection
Section "DRI"
Mode 0666 # !!! FIX THIS!
EndSection