Материал из Wiki.X-news.org
Перейти к: навигация, поиск

Пример конфигурационного файла Xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (root@srv-home.butovonet.ru)  Thu Mar 26 23:56:02 UTC 2009

Section "ServerLayout"

   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"

EndSection

Section "Files"

   ModulePath      "/usr/local/lib/xorg/modules"
   FontPath        "/usr/local/lib/X11/fonts/misc/"
   FontPath        "/usr/local/lib/X11/fonts/TTF/"
   FontPath        "/usr/local/lib/X11/fonts/OTF"
   FontPath        "/usr/local/lib/X11/fonts/Type1/"
   FontPath        "/usr/local/lib/X11/fonts/100dpi/"
   FontPath        "/usr/local/lib/X11/fonts/75dpi/"

EndSection

Section "Module"

   Load           "extmod"
   Load           "record"
   Load           "dbe"
   Load           "glx"
   Load           "xtrap"
   Load           "freetype"

EndSection

Section "ServerFlags"

   Option         "AllowEmptyInput" "off"

EndSection

Section "InputDevice"

   Identifier     "Keyboard0"
   Driver         "kbd"

EndSection

Section "InputDevice"

   Identifier     "Mouse0"
   Driver         "mouse"
   Option         "Protocol" "auto"
   Option         "Device" "/dev/sysmouse"
   Option         "ZAxisMapping" "4 5 6 7"

EndSection

Section "Monitor"

   Identifier     "Monitor0"
   VendorName     "Monitor Vendor"
   ModelName      "Monitor Model"

EndSection

Section "Device"

       ### Available Driver options are:-
       ### Values: : integer, <f>: float, <bool>: "True"/"False",
       ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
       ### [arg]: arg optional
       #Option     "SWcursor"           	# [<bool>]
       #Option     "HWcursor"           	# [<bool>]
       #Option     "NoAccel"            	# [<bool>]
       #Option     "ShadowFB"           	# [<bool>]
       #Option     "UseFBDev"           	# [<bool>]
       #Option     "Rotate"             	# [<str>]
       #Option     "VideoKey"           	# <i>
       #Option     "FlatPanel"          	# [<bool>]
       #Option     "FPDither"           	# [<bool>]
       #Option     "CrtcNumber"         	# <i>
       #Option     "FPScale"            	# [<bool>]
       #Option     "FPTweak"            	# <i>
       #Option     "DualHead"           	# [<bool>]
   Identifier     "Card0"
   Driver         "nvidia"
   VendorName     "nVidia Corporation"
   BoardName      "GeForce 8400 GS"

EndSection

Section "Screen"

   Identifier     "Screen0"
   Device         "Card0"
   Monitor        "Monitor0"
   SubSection     "Display"
       Viewport    0 0
   EndSubSection
   SubSection     "Display"
       Viewport    0 0
       Depth       4
   EndSubSection
   SubSection     "Display"
       Viewport    0 0
       Depth       8
   EndSubSection
   SubSection     "Display"
       Viewport    0 0
       Depth       15
   EndSubSection
   SubSection     "Display"
       Viewport    0 0
       Depth       16
   EndSubSection
   SubSection     "Display"
       Viewport    0 0
       Depth       24
   EndSubSection

EndSection