* Update /etc/X11/xorg.conf.vmware: use vmmouse.
[grml-x.git] / etc / X11 / xorg.conf.vmware
1 ################################################################################
2 # Filename:      /etc/X11/xorg.conf.vmware
3 # Purpose:       config file for xserver - generated by grml-x
4 # Bug-Reports:   see http://grml.org/bugs/
5 # Latest change: Don Okt 26 00:41:18 CEST 2006 [mika]
6 # See also:
7 #   /usr/share/doc/xserver-xorg/   and
8 #   http://wiki.x.org/wiki/Home    and
9 #   http://ftp.x.org/pub/X11R7.0/doc/html/index.html for information on Xorg
10 #   /usr/share/doc/xfree86-common/                   for information on XFree86
11 # Refer to the xorg.conf man page and to
12 # http://ftp.x.org/pub/X11R7.0/doc/html/xorg.conf.5.html
13 # for details about the format of this file.
14 ################################################################################
15
16 Section "ServerLayout"
17         Identifier     "XServer Configured"
18         Screen      0  "Screen0" 0 0
19         InputDevice    "Keyboard0"  "CoreKeyboard"
20         InputDevice    "PS/2 Mouse" "CorePointer"
21 EndSection
22
23 Section "ServerFlags"
24         Option "AllowMouseOpenFail"  "true"  # allows the server to start up even if the mouse does not work
25         Option "DontVTSwitch"        "false" # allow switching between virtual terminal
26         # Option "DontZap"             "true"  # disable <Crtl><Alt><BS> (server abort)
27         # Option "DontZoom"            "true"  # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
28 EndSection
29
30 Section "Files"
31 #        RgbPath      "/usr/X11R6/lib/X11/rgb"
32 #        ModulePath   "/usr/X11R6/lib/modules"
33 # More information:  http://ftp.x.org/pub/X11R7.0/doc/html/fonts.html
34         FontPath     "/usr/share/fonts/X11/misc"
35         FontPath     "/usr/share/fonts/X11/cyrillic"
36         FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
37         FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
38         FontPath     "/usr/share/fonts/X11/Type1"
39         FontPath     "/usr/share/fonts/X11/100dpi"
40         FontPath     "/usr/share/fonts/X11/75dpi"
41         FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
42         FontPath     "/usr/X11R6/lib/X11/fonts/misc"
43         FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
44         FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
45         FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
46         FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
47 # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
48         FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
49         FontPath     "/usr/share/fonts/ttf/western"
50         FontPath     "/usr/share/fonts/ttf/decoratives"
51         FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
52         FontPath     "/usr/share/fonts/latex-ttf-fonts"
53         FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
54 EndSection
55
56 # Modules - see /usr/X11R6/lib/modules/fonts and /usr/X11R6/lib/modules/extensions
57 Section "Module"
58         Load  "dbe"       # double buffer extension
59         Load  "dri"       # direct rendering
60         Load  "glx"       # 3D layer
61         Load  "type1"     # font module
62         Load  "freetype"  # font rendering
63         Load  "extmod"    # some commonly used server extensions (e.g. shape extension)
64         Load  "record"    # recording extension
65         # Load  "vbe"       # Vesa BIOS Extension
66         # Load  "ddc"       # ddc probing of monitor
67         # Load  "bitmap"    # bitmap fonts
68         # Load  "GLcore"    # render OpenGL in software
69         # Load  "i2c"       # I2C bus
70         # Load  "int10"     # initialize graphics cards via int10 call to the BIOS
71         # Load  "speedo"    # font module
72         # Load  "v4l"       # Video for Linux
73         # Load  "evdev"     # generic input handling driver on Linux
74 # Valid entries - see /usr/lib/xorg/modules/[extensions/]
75 # afb bitmap cfb cfb16 cfb24 cfb32 cw damage dbe ddc dri drm extmod fb
76 # fbdevhw freetype GLcore glx i2c int10 int10 layer mfb pcidata rac ramdac
77 # record scanpci shadow shadowfb type1 vbe vgahw xaa xf1bpp xf24_32bpp xf4bpp
78 # xf8_16bpp xf8_32bpp xtrap
79 EndSection
80
81 # If you'd like to switch the positions of your capslock and control keys, use:
82 # Option "XkbOptions" "ctrl:swapcaps"
83 # Or if you just want both to be control, use:
84 # Option "XkbOptions" "ctrl:nocaps"
85 # More information: http://ftp.x.org/pub/X11R7.0/doc/html/XKB-Config.html
86 Section "InputDevice"
87         Identifier  "Keyboard0"
88         Option      "CoreKeyboard"
89         Driver      "kbd"
90         #Option      "XkbRules"   "xfree86"
91         Option      "XkbRules"   "xorg"
92         Option      "XkbModel"   "pc105"
93         Option      "XkbLayout"  "us"
94         #Option      "XkbVariant" "nodeadkeys"
95 EndSection
96
97 # More information: http://ftp.x.org/pub/X11R6.9.0/doc/html/mouse.html
98
99 Section "InputDevice"
100         Identifier  "PS/2 Mouse"
101         # Driver      "mouse" # old one
102         Driver      "vmmouse" # see 'man vmmouse'
103         Option      "Device" "/dev/input/mice"
104         Option      "Protocol" "explorerps/2"
105         Option      "Buttons" "5"
106         Option      "ZAxisMapping" "4 5"
107 EndSection
108
109 Section "Monitor"
110         Identifier   "Monitor0"
111         Option       "DPMS"      "true"
112         HorizSync    31.0 - 61.0
113         VertRefresh  50.0 - 90.0
114 EndSection
115
116 Section "Device"
117         # Option      "RenderAccel" "true"
118         Identifier  "Card0"
119         Driver      "vmware"
120         VendorName  "All"
121         BoardName   "All"
122         # BusID       "PCI:1:0:0"
123 EndSection
124
125 Section "Screen"
126         Identifier "Screen0"
127         Device     "Card0"
128         Monitor    "Monitor0"
129         DefaultColorDepth 16
130         SubSection "Display"
131                 Depth     1
132                 Modes "1024x768" "800x600" "640x480"
133         EndSubSection
134         SubSection "Display"
135                 Depth     4
136                 Modes "1024x768" "800x600" "640x480"
137         EndSubSection
138         SubSection "Display"
139                 Depth     8
140                 Modes "1024x768" "800x600" "640x480"
141         EndSubSection
142         SubSection "Display"
143                 Depth     15
144                 Modes "1024x768" "800x600" "640x480"
145         EndSubSection
146         SubSection "Display"
147                 Depth     16
148                 Modes "1024x768" "800x600" "640x480"
149         EndSubSection
150         SubSection "Display"
151                 Depth     24
152                 Modes "1024x768" "800x600" "640x480"
153         EndSubSection
154         SubSection "Display"
155                 Depth     32
156                 Modes "1024x768" "800x600" "640x480"
157         EndSubSection
158 EndSection
159
160 Section "DRI"
161         Mode 0666
162 EndSection
163
164 ## END OF FILE #################################################################