xorg.conf(5) File Formats Manual xorg.conf(5) xorg.conf, xorg.conf.d - Xorg X Xorg : xorg.conf xorg.conf.d . . . . ( ) Xserver(1) Xorg(1) . . . Xorg xorg.conf .conf xorg.conf.d . xorg.conf : /etc/X11/ /usr/etc/X11/ /etc/X11/$XORGCONFIG /usr/etc/X11/$XORGCONFIG /etc/X11/xorg.conf /etc/xorg.conf /usr/etc/X11/xorg.conf. /usr/etc/X11/xorg.conf /usr/lib/X11/xorg.conf. /usr/lib/X11/xorg.conf ( "..") -config $XORGCONFIG ( "..") gethostname(3) . Xorg "root" : /etc/X11/ /usr/etc/X11/ $XORGCONFIG /etc/X11/$XORGCONFIG /usr/etc/X11/$XORGCONFIG /etc/X11/xorg.conf /etc/xorg.conf /usr/etc/X11/xorg.conf. /usr/etc/X11/xorg.conf /usr/lib/X11/xorg.conf. /usr/lib/X11/xorg.conf -config ( ) $XORGCONFIG ( ) $HOME ( ) gethostname(3) . : /etc/X11/ /etc/X11/ /etc/X11/xorg.conf.d /etc/X11/xorg.conf.d ( "..") -configdir . Xorg "root" : /etc/X11/ /etc/X11/ /etc/X11/xorg.conf.d /etc/X11/xorg.conf.d -configdir ( ). . . : /usr/share/X11/xorg.conf.d xorg.conf xorg.conf.d . : Section "SectionName" SectionEntry ... EndSection : Files ServerFlags Module Extensions InputDevice InputClass OutputClass Device VideoAdaptor Xv Monitor Modes Screen ServerLayout DRI DRI Vendor . InputDevice . Keyboard Pointer / XInput . ServerLayout . . InputDevice . ( ). Screen ServerLayout . Screen . Device Monitor . "_" . ( Option) "_" . . . : Integer () () Real String (") : "0x" "0" . Option . Option . . : Integer Real String Boolean ( ) Frequency ( ) Option . . TRUE . TRUE : 1 on true yes FALSE : 0 off false no "No" () . : : Option "Accel" "Off" Option "NoAccel" Option "NoAccel" "On" Option "Accel" "false" Option "Accel" "no" () : Hz k kHz M MHz . . FILES Files . ( Xserver(1) Xorg(1)). . Files . : FontPath "path" . Xorg . FontPath . () . : (Catalogue): catalogue: . : :[attribute]:pri= [attribute] FPE FPE . : 75dpi:unscaled:pri=20 -> /usr/share/X11/fonts/75dpi gscript:pri=60 -> /usr/share/fonts/default/ghostscript misc:unscaled:pri=10 -> /usr/share/X11/fonts/misc : : /: ( unix tcp TCP/IP) ( ). ( ): /usr/share/fonts/X11/misc/ /usr/share/fonts/X11/TTF/ /usr/share/fonts/X11/OTF/ /usr/share/fonts/X11/Type1/ /usr/share/fonts/X11/100dpi/ /usr/share/fonts/X11/75dpi/ . ModulePath "path" Xorg . Xorg . ModulePath . : lib/xorg/modules XkbDir "path" . -xkbdir . : /usr/share/X11/xkb SERVERFLAGS ( ) ServerFlags Xorg . Options . . ServerFlags . Options ( "DefaultServerLayout") Options ServerLayout . . : Option "Debug" "string" . dmabuf_capable glamor . Option "DefaultServerLayout" "layout-id" ServerLayout -layout . Option "DontVTSwitch" "boolean" Ctrl+Alt+Fn ( Fn ) . ("virtual terminal") . . : (off). Option "DontZap" "boolean" XKB Terminate_Server ( Ctrl+Alt+Backspace XKB) . Xorg . . : (off). Option "DontZoom" "boolean" Ctrl+Alt+Keypad-Plus Ctrl+Alt+Keypad-Minus . . . : (off). Option "DisableVidModeExtension" "boolean" VidMode xvidtune . : VidMode . Option "AllowNonLocalXvidtune" "boolean" xvidtune ( VidMode ) . : (off). Option "AllowMouseOpenFail" "boolean" mousedrv(4) vmmouse(4) . evdev(4) . : false. Option "BlankTime" "time" blank (/ ) . time . -s Xorg xset(1) . : . Option "StandbyTime" "time" standby () DPMS . time xset(1) . : . VESA DPMS . "DPMS" ( MONITOR ). Option "SuspendTime" "time" suspend () DPMS . time xset(1) . : . VESA DPMS . "DPMS" ( MONITOR ). Option "OffTime" "time" off ( ) DPMS . time xset(1) . : . VESA DPMS . "DPMS" ( MONITOR ). Option "MaxClients" "integer" X . . Option "NoPM" "boolean" (Power Management) . : PM . Option "Xinerama" "boolean" XINERAMA . . Option "IndirectGLX" "boolean" GLX . GLX . Option "DRI2" "boolean" DRI2. . Option "GlxVisuals" "string" GLX visual GLX . typical GLXFBConfig visual GLX . : minimal GLX all visual GLX GLXFBConfig . Option "UseDefaultFontPath" "boolean" xorg.conf . . . Option "IgnoreABI" "boolean" X . . Option "AutoAddDevices" "boolean" HAL udev . . Option "AutoEnableDevices" "boolean" ( DevicePresenceNotify ) . . Option "AutoAddGPU" "boolean" GPU udev . . ( Xinerama ). Option "AutoBindGPU" "boolean" output-sink offload-source . "xrandr --setprovideroutputsource" . . Option "Log" "string" (flush) (sync) . : flush sync. . Option "AllowByteSwappedClients" "boolean" (byte-order) . . MODULE Module Xorg . Xorg (static) . Xorg . . Module . . Load : Load "modulename" modulename . . "lib" "cyg" ".so" ".dll" . : DRI : Load "dri" Disable "modulename" modulename . . Load Disable . . Load "lib" ".a" ".o" ".so" . SubSection () SubSection Options . : extmod ( ) XFree86-DGA : SubSection "extmod" Option "omit XFree86-DGA" EndSubSection ModulePath drivers extensions input internal multimedia . . extensions : lib/xorg/modules "extmod" "dbe" "dri" "dri2" "glx" "record" "Disable" . "extmod" . ( SHAPE) . EXTENSIONS Extensions X11 . Extensions . Option . "Xorg -extension ?" . : MIT-SHM : Section "Extensions" Option "MIT-SHM" "Disable" EndSection INPUTDEVICE InputDevice . X HAL udev (hotplugging) . ( AutoAddDevices ) InputDevice xorg.conf . InputDevice mouse kbd vmmouse . : () . . InputDevice CorePointer ( CoreKeyboard) . InputDevice "mouse" ( "kbd") . . . InputDevice : Section "InputDevice" Identifier "name" Driver "inputdriver" options ... EndSection Identifier Driver InputDevice . . Identifier . Driver . "inputdriver" InputDevice . InputDevice ServerLayout -keyboard -pointer . evdev(4) kbd(4) mousedrv(4) . InputDevice Options . . Option "AutoServerLayout" "boolean" ServerLayout . / . Option "CorePointer" Floating Option "CoreKeyboard" Floating Option "AlwaysCore" "boolean" Floating Option "SendCoreEvents" "boolean" Floating Option "Floating" "boolean" (floating) (master) . API X Input . . CorePointer CoreKeyboard AlwaysCore SendCoreEvents Floating ( SendCoreEvents "on" Floating "off" ). . Option "TransformationMatrix" "a b c d e f g h i" x . . "a" "e" "c" "f" x y . . x . "1 0 0 0 1 0 0 0 1" . . xinput(1) . . Option "AccelerationProfile" "integer" () . "" . ( ) . . 0 ( ) -1 ( ) 1 2 ( ) 3 ( ) 4 ( ) 5 ( ) 6 ( ) 7 ( ) Option "ConstantDeceleration" "real" deceleration . . . Option "AdaptiveDeceleration" "real" . adaptive deceleration . . Option "AccelerationScheme" "string" . predictable ( ) lightweight ( X ) none Option "AccelerationNumerator" "integer" Option "AccelerationDenominator" "integer" . . simple limited ( ) . . Option "AccelerationThreshold" "integer" ( ) . . INPUTCLASS InputClass . () . InputClass . . InputClass : Section "InputClass" Identifier "name" entries ... options ... EndSection Identifier InputClass . . Identifier . Driver . "inputdriver" Driver . InputClass . . InputClass . . InputClass . . '|' . . : Section "InputClass" Identifier "My Class" # example # gizmo gadget MatchProduct "example" MatchProduct "gizmo|gadget" NoMatchDriver "drivername" ... EndSection MatchProduct "matchproduct" "matchproduct" . MatchVendor "matchvendor" "matchvendor" . MatchDevicePath "matchdevice" "matchdevice" . MatchOS "matchos" "matchos" . uname(2) . MatchPnPID "matchpnp" (PnP ID) (wildcard) "matchpnp" . MatchUSBID "matchusb" USB "matchusb" . ':' . lsusb(8) . MatchDriver "matchdriver" "matchdriver" . InputClass . MatchTag "matchtag" "matchtag" . "matchtag" . MatchLayout "matchlayout" "matchlayout" ServerLayout . "" ServerLayout . NoMatchProduct NoMatchVendor NoMatchDevicePath NoMatchOS NoMatchPnPID NoMatchUSBID NoMatchDriver NoMatchTag NoMatchLayout . NoMatch . . Option . MatchIsKeyboard "bool" MatchIsPointer "bool" MatchIsJoystick "bool" MatchIsTablet "bool" MatchIsTabletPad "bool" MatchIsTouchpad "bool" MatchIsTouchscreen "bool" InputClass Option . Option InputClass . Option InputDevice . Option "Ignore" "boolean" . X . OUTPUTCLASS OutputClass . . OutputClass . . OutputClass : Section "OutputClass" Identifier "name" entries ... EndSection Identifier OutputClass . . Identifier . Driver . "outputdriver" Driver . OutputClass . . OutputClass . . . '|' . : Section "OutputClass" Identifier "My Class" # foo bar MatchDriver "foo|bar" ... EndSection MatchDriver "matchdriver" "matchdriver" . OutputClass Option . Option OutputClass . Option Device . Option "PrimaryGPU" "boolean" GPU GPU () . OutputClass PrimaryGPU GPU . OutputClass ModulePath . OutputClass ModulePath OutputClass Xorg . ModulePath Files . DEVICE Device . . Device : Section "Device" Identifier "name" Driver "driver" entries ... EndSection Identifier Driver Device . . Identifier . Driver . "driver" Device . Device Screen . Device Options . . . Options ( ) Device Screen . BusID "bus-id" . PCI/AGP bus-id PCI:bus@domain:device:function ( "PCI:1@0:0:0" AGP ). "@domain" PCI . (single-head) . (multi-head) . . pciaccess scanpci . Screen number PCI ( CRTC ) . (head) Device Device . number . () . Chipset "chipset" (chipset) . . . Ramdac "ramdac-type" RAMDAC . RAMDAC . . DacSpeed speed DacSpeed speed-8 speed-16 speed-24 speed-32 RAMDAC ( RAMDAC ). (MHz) . . . RAMDAC . . Clocks clock ... . (MHz) . . . . Clocks . . . ClockChip "clockchip-type" . Xorg . . VideoRam mem (RAM) . (kByte) . Xorg . . MemBase baseaddress . . IOBase baseaddress / (IO) . . ChipID id . PCI (device ID) . . ChipRev rev () . . MatchSeat seat-id Device X -seat seat-id . Option "ModeDebug" "boolean" (modesetting) . Option "NoOutputInitialSize" "width height" X . X . . "Virtual" Display "NoOutputInitialSize" X . Option "PreferCloneMode" "boolean" (screen) (horizontal extended) (clone mode) . ( ) Options (Options) Device . . . Screen . VIDEOADAPTOR . ... MONITOR Monitor . . Monitor : Section "Monitor" Identifier "name" ... EndSection Monitor Identifier . Identifier . Monitor Options (video modes) . RandR 1.2 . Device : Option "Monitor-outputname" "monitorsection" ( Option "Monitor-VGA" "VGA monitor" VGA) (single-head) . DDC . Monitor ( Mode ModeLine UseModes) (built-in) . . Monitor . VendorName "vendor" . ModelName "model" . HorizSync horizsync-range () (horizontal sync) . horizsync-range . . (kHz) . MHz Hz . Xorg . . 28-33kHz . VertRefresh vertrefresh-range () (vertical refresh) . vertrefresh-range . . (Hz) . MHz kHz . Xorg . . 43-72Hz . DisplaySize width height . (DPI) . Gamma gamma-value Gamma red-gamma green-gamma blue-gamma (gamma correction) . RGB . 0.1 10.0 1.0 . . UseModes "modesection-id" Modes modesection-id . . Mode "name" . VESA . Mode . EndMode . : DotClock clock () . HTimings hdisp hsyncstart hsyncend htotal . VTimings vdisp vsyncstart vsyncend vtotal . Flags "flag" ... . "Interlace" (interlaced) . "DoubleScan" . "+HSync" "-HSync" HSync . "+VSync" "-VSync" VSync . "Composite" (composite sync) . "+CSync" "-CSync" . HSkew hskew ( ) (skew) . . ( ) . (roving) . . VScan vscan . . 1 1 . "DoubleScan" Flag . ModeLine "name" mode-description Mode . . VESA . mode-description . () . (MHz) . . hdisp hsyncstart hsyncend htotal . . vdisp vsyncstart vsyncend vtotal . . Interlace . DoubleScan . +HSync -HSync HSync . +VSync -VSync VSync . Composite . +CSync -CSync . HSkew VScan Mode . Option "DPMS" "bool" DPMS . . Option "SyncOnGreen" "bool" . . . Option "Primary" "bool" . ( RandR 1.2) Option "PreferredMode" "name" . ( RandR 1.2) Option "ZoomModes" "name name ..." . Ctrl+Alt+Keypad-Plus Ctrl+Alt+Keypad-Minus . . (compatibility output) . (dot-area) ( ) . ( RandR 1.2) Option "Position" "x y" X . ( RandR 1.2) Option "LeftOf" "output" ( ) . ( RandR 1.2) Option "RightOf" "output" ( ) . ( RandR 1.2) Option "Above" "output" ( ) . ( RandR 1.2) Option "Below" "output" ( ) . ( RandR 1.2) Option "Enable" "bool" . . ( RandR 1.2) Option "Disable" "bool" . . ( RandR 1.2) Option "DefaultModes" "bool" . EDID (custom modelines) . ( RandR 1.2) Option "MinClock" "frequency" (kHz) . Option "MaxClock" "frequency" (kHz) . Option "Ignore" "bool" RandR . . ( RandR 1.2) Option "Rotate" "rotation" . "normal" "left" "right" "inverted". ( RandR 1.2) MODES Modes . Monitor . Monitor UseModes . Modes VESA . Modes : Section "Modes" Identifier "name" ... EndSection Identifier . Modes Mode ModeLine Monitor . SCREEN Screen . "" (screen) . "" ( Device) ( Monitor) . Screen "" ServerLayout -screen . Screen . Screen : Section "Screen" Identifier "name" Device "devid" GPUDevice "devid" Monitor "monid" ... SubSection "Display" ... EndSubSection ... EndSection Identifier . . Identifier . Screen Options . (multi-head) Screen (head). : Device "device-id" Device . . device-id Identifier Device . GPUDevice "device-id" Device GPU . . device-id Identifier Device . . Monitor "monitor-id" . Monitor . . VideoAdaptor "xv-id" Xv . DefaultDepth depth . -depth . 8 . DefaultFbBpp bpp . -fbbpp . . 24 (sparse) . MatchSeat seat-id Screen X -seat seat-id . Options Option Screen . . . Option "Accel" . (bug) . . ( ) . Option "GlxVendorLibrary" "string" OpenGL . . : mesa. Option (R)enderingAPI" "string" (API) Glamor . OpenGL "gl" OpenGL ES "es" GL 2.1 Glamor GLES (fallback). (embedded) GL ES GL . : gl. Option "InitPrimary" "boolean" Int10 . Int10 BIOS . : false. Option "NoInt10" "boolean" Int10 int10 BIOS . : false. Screen Display . /fbbpp / fbbpp . Display . DISPLAY Screen Display . Display "" / fbbpp fbbpp . Display . / fbbpp . Display : SubSection "Display" Depth depth ... EndSubSection Depth depth Display . Display (match-all) FbBpp . depth . 8 15 16 24 . 1 / 4 ( 30) . : depth . 32 depth . 32 24 24 32. FbBpp bpp Display . 24 (24 bpp packed) (32bpp sparse) . . Weight red-weight green-weight blue-weight RGB 16 . -weight ( Xorg(1)) . Virtual xdim ydim (virtual screen resolution) . xdim 8 16 (monochrome) 32 . . . Modes . / . . ViewPort x0 y0 . . . Modes "mode-name" ... . mode-name . Monitor ( VESA ). . . . Ctrl+Alt+Keypad-Plus Ctrl+Alt+Keypad-Minus . Monitor . Monitor VESA . Visual "visual-name" (visual type) . ( Xserver(1) ). 8 ( PseudoColor ): StaticGray GrayScale StaticColor PseudoColor TrueColor DirectColor 15 16 24 ( TrueColor ): TrueColor DirectColor DirectColor . 4 ( StaticColor ): StaticGray GrayScale StaticColor PseudoColor 1 () StaticGray . Black red green blue "" . 1 . . White red green blue "" . 1 . . Options (Option flags) Display . . . Screen . SERVERLAYOUT ServerLayout . " " (server layout) ( Screen) ( InputDevice) . . ServerLayout "" -layout Option "DefaultServerLayout" ServerFlags ( ). ServerLayout . ServerLayout () . ServerLayout : Section "ServerLayout" Identifier "name" Screen "screen-id" ... InputDevice "idev-id" ... ... EndSection ServerLayout Identifier Screen . Identifier . ServerLayout (session) Options . ServerFlags ( ) ServerFlags (override) . . Screen screen-num "screen-id" position-information . screen-id Screen . screen-num . . 0 . position-information . : x y Absolute x y (x,y) . Absolute . XFree86 ( . ) Absolute . RightOf "screen-id" LeftOf "screen-id" Above "screen-id" Below "screen-id" Relative "screen-id" x y . . . . Relative ( ) . InputDevice "idev-id" "option" ... . (core pointer) . InputDevice INPUTDEVICE . idev-id InputDevice . option . InputDevice . . : "CorePointer" "CoreKeyboard" "SendCoreEvents" . MatchSeat seat-id ServerLayout X -seat seat-id . Options ServerFlags . ServerFlags . Option "IsolateDevice" "bus-id" bus-id . bus-id BusID ( DEVICE ) . SingleCard . PCI . Option "SingleCard" "boolean" IsolateDevice (bus ID) . ServerLayout : Section "ServerLayout" Identifier "Layout 1" Screen "MGA 1" Screen "MGA 2" RightOf "MGA 1" InputDevice "Keyboard 1" "CoreKeyboard" InputDevice "Mouse 1" "CorePointer" InputDevice "Mouse 2" "SendCoreEvents" Option "BlankTime" "5" EndSection DRI (Direct Rendering Infrastructure) . . VENDOR Vendor / . Vendor Identifier Option . . (SEE ALSO) : X(7) Xserver(1) Xorg(1) cvt(1) gtf(1). . : apm(4) ati(4) chips(4) cirrus(4) cyrix(4) fbdev(4) glide(4) glint(4) i128(4) i740(4) imstt(4) intel(4) mga(4) neomagic(4) nv(4) openchrome(4) r128(4) radeon(4) rendition(4) savage(4) s3virge(4) siliconmotion(4) sis(4) sisusb(4) sunbw2(4) suncg14(4) suncg3(4) suncg6(4) sunffb(4) sunleo(4) suntcx(4) tdfx(4) trident(4) tseng(4) vesa(4) vmware(4) voodoo(4) wsfb(4) xgi(4) xgixp(4). : acecad(4) citron(4) elographics(4) evdev(4) fpit(4) joystick(4) kbd(4) libinput(4) mousedrv(4) mutouch(4) penmount(4) synaptics(4) vmmouse(4) void(4) wacom(4). : exa(4) fbdevhw(4) v4l(4). (AUTHORS) David Dawes . X Version 11 xorg-server 21.1.24 xorg.conf(5)