1 ################################################################################
2 # Filename: /etc/X11/xorg.conf
3 # Purpose: config file for xserver
4 # Bug-Reports: see http://grml.org/bugs/
6 # /usr/share/doc/xserver-xorg/ and
7 # http://wiki.x.org/wiki/Home and
8 # http://ftp.x.org/pub/X11R7.0/doc/html/index.html for information on Xorg
9 # Refer to the xorg.conf man page and to
10 # http://ftp.x.org/pub/X11R7.0/doc/html/xorg.conf.5.html
11 # for details about the format of this file.
13 # If you would like this file to be automatically reconfigured by debian,
14 # run the following command:
15 # sudo dpkg-reconfigure -phigh xserver-xorg
16 ################################################################################
18 Section "ServerLayout"
19 Identifier "XServer Configured"
20 Screen 0 "Screen0" 0 0
21 InputDevice "Keyboard0" "CoreKeyboard"
22 InputDevice "USB Mouse" "CorePointer"
23 # InputDevice "PS/2 Mouse" "CorePointer"
27 Option "AllowMouseOpenFail" "true" # allows the server to start up even if the mouse does not work
28 Option "DontVTSwitch" "false" # allow switching between virtual terminal
29 # Option "DontZoom" "true" # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
33 # RgbPath "/usr/X11R6/lib/X11/rgb"
34 # ModulePath "/usr/X11R6/lib/modules"
35 # More information: http://ftp.x.org/pub/X11R7.0/doc/html/fonts.html
36 FontPath "/usr/share/fonts/X11/misc"
37 FontPath "/usr/share/fonts/X11/cyrillic"
38 FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
39 FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
40 FontPath "/usr/share/fonts/X11/Type1"
41 FontPath "/usr/share/fonts/X11/100dpi"
42 FontPath "/usr/share/fonts/X11/75dpi"
43 FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
44 FontPath "/usr/X11R6/lib/X11/fonts/misc"
45 FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
46 FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
47 FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
48 FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
49 # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
50 FontPath "/usr/X11R6/lib/X11/fonts/Type1"
51 FontPath "/usr/share/fonts/ttf/western"
52 FontPath "/usr/share/fonts/ttf/decoratives"
53 FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
54 FontPath "/usr/share/fonts/latex-ttf-fonts"
55 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
58 # Modules - see /usr/lib/xorg/modules/fonts and /usr/lib/xorg/modules/extensions
60 Load "dbe" # double buffer extension
61 Load "dri" # direct rendering
63 Load "extmod" # some commonly used server extensions (e.g. shape extension)
64 Load "record" # recording extension
65 Load "evdev" # generic input handling driver on Linux
66 # Load "bitmap" # bitmap fonts
67 # Load "ddc" # ddc probing of monitor
68 # Load "freetype" # font rendering
69 # Load "GLcore" # render OpenGL in software
70 # Load "i2c" # I2C bus
71 # Load "int10" # initialize graphics cards via int10 call to the BIOS
72 # Load "speedo" # font module
73 # Load "type1" # font module
74 # Load "v4l" # Video for Linux
75 # Load "vbe" # Vesa BIOS Extension
76 # Valid entries - see /usr/lib/xorg/modules/[extensions/]
77 # afb bitmap cfb cfb16 cfb24 cfb32 cw damage dbe ddc dri drm extmod fb
78 # fbdevhw freetype GLcore glx i2c int10 int10 layer mfb pcidata rac ramdac
79 # record scanpci shadow shadowfb type1 vbe vgahw xaa xf1bpp xf24_32bpp xf4bpp
80 # xf8_16bpp xf8_32bpp xtrap
83 # If you'd like to switch the positions of your capslock and control keys, use:
84 # Option "XkbOptions" "ctrl:swapcaps"
85 # Or if you just want both to be control, use:
86 # Option "XkbOptions" "ctrl:nocaps"
87 # More information: http://ftp.x.org/pub/X11R7.0/doc/html/XKB-Config.html
89 Identifier "Keyboard0"
92 #Option "XkbRules" "xfree86"
93 Option "XkbRules" "xorg"
94 Option "XkbModel" "pc105"
95 Option "XkbLayout" "us"
96 #Option "XkbVariant" "nodeadkeys"
97 #Option "XkbOptions" "ctrl:swapcaps,grp:alt_shift_toggle,grp_led:scroll,compose:menu"
100 # More information: http://ftp.x.org/pub/X11R6.9.0/doc/html/mouse.html
102 Section "InputDevice"
103 Identifier "USB Mouse"
105 Option "Device" "/dev/input/mice"
106 Option "Protocol" "auto"
107 Option "ZAxisMapping" "4 5"
109 Option "SendCoreEvents" "true"
113 Section "InputDevice"
114 Identifier "PS/2 Mouse"
116 Option "Device" "/dev/input/mice"
117 # Option "Device" "/dev/psaux"
118 Option "Protocol" "PS/2"
119 Option "Emulate3Buttons" "true"
120 Option "Emulate3Timeout" "70"
121 Option "SendCoreEvents" "true"
125 # Example for a Elo touchscreen:
126 # Section "InputDevice"
127 # Identifier "touchscreen"
128 # Driver "elographics"
129 # Option "Device" "/dev/ttyS0"
130 # Option "SendCoreEvents" "true"
131 # Option "MinX" "4070"
134 # Option "MaxY" "3960"
135 # Option "ScreenNo" "1"
136 # Option "BaudRate" "9600"
137 # Option "StopBits" "1"
138 # Option "DataBits" "8"
139 # Option "Parity" "None"
142 # Option "FlowControl" "None"
143 # Option "PortraitMode" "Portrait"
144 # Option "PortraitMode" "PortraitCCW"
145 # Option "SwapXY" "true"
146 # Option "UntouchDelay" "3"
147 # Option "ReportDelay" "1"
151 Identifier "Monitor0"
152 # ModelName "Old Monitor (no DDC)"
154 # HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors
155 # HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors
156 HorizSync 31.0 - 61.0
157 # VertRefresh 50.0 - 76.0 # Very conservative. May flicker.
158 # VertRefresh 50.0 - 60.0 # Extreme conservative. Will flicker. TFT default.
159 VertRefresh 50.0 - 90.0
160 # Need more information?
161 # http://xtiming.sourceforge.net/cgi-bin/xtiming.pl
162 # http://en.tldp.org/HOWTO/XFree86-Video-Timings-HOWTO/
166 ### Available Driver options are:
167 ## sw_cursor is needed for some ati and radeon cards
176 # Option "RenderAccel" "true"
177 # Option "AllowGLXWithComposite" "true"
182 ## Workaround for drivers which send output to wrong device:
183 # Option "MonitorLayout" "LVDS, AUTO"
184 # Option "MonitorLayout" "LVDS, CRT"
185 # Option "MonitorLayout" "NONE, STV"
186 # Option "MonitorLayout" "LVDS"
198 Modes "1024x768" "800x600" "640x480" "1600x1200" "1280x1024" "1280x960"
202 Modes "1024x768" "800x600" "640x480" "1600x1200" "1280x1024" "1280x960"
206 Modes "1024x768" "800x600" "640x480" "1600x1200" "1280x1024" "1280x960"
210 Modes "1024x768" "800x600" "640x480" "1600x1200" "1280x1024" "1280x960"
214 Modes "1024x768" "800x600" "640x480" "1600x1200" "1280x1024" "1280x960"
218 Modes "1024x768" "800x600" "640x480" "1600x1200" "1280x1024" "1280x960"
222 Modes "1024x768" "800x600" "640x480" "1600x1200" "1280x1024" "1280x960"
226 # Make sure you have the relevant Debian packages on your system
227 # to be able to use DRI (libgl1-mesa-dri for example)
232 #Section "Extensions"
233 # Option "Composite" "Enable"
236 ## END OF FILE #################################################################