Provide /etc/X11/xorg.conf.virtualbox
[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: Son Nov 18 10:04:56 CET 2007 [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 # Refer to the xorg.conf man page and to
11 # http://ftp.x.org/pub/X11R7.0/doc/html/xorg.conf.5.html
12 # for details about the format of this file.
13 #
14 # If you would like this file to be automatically reconfigured by debian,
15 # run the following command:
16 #   sudo dpkg-reconfigure -phigh xserver-xorg
17 ################################################################################
18
19 Section "ServerLayout"
20         Identifier     "XServer Configured"
21         Screen      0  "Screen0" 0 0
22         # InputDevice    "Keyboard0"     "CoreKeyboard"
23         ## Deactivated temporarly because of problems with vmmouse:
24         # InputDevice    "Generic Mouse" "CorePointer"
25         # InputDevice    "USB Mouse"     "CorePointer"
26         # InputDevice    "PS/2 Mouse"    "CorePointer"
27         # No synaptics/alps touchpad present.
28         # No serial mouse detected.
29 EndSection
30
31 Section "ServerFlags"
32         Option "AllowMouseOpenFail"  "true"  # allows the server to start up even if the mouse does not work
33         Option "DontVTSwitch"        "false" # allow switching between virtual terminal
34         # Option "DontZap"             "true"  # disable <Crtl><Alt><BS> (server abort)
35         # Option "DontZoom"            "true"  # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
36 EndSection
37
38 Section "Files"
39         # More information:  http://ftp.x.org/pub/X11R7.0/doc/html/fonts.html
40         FontPath     "/usr/share/fonts/X11/misc"
41         FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
42         FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
43         FontPath     "/usr/share/fonts/X11/Type1"
44         FontPath     "/usr/share/fonts/X11/100dpi"
45         FontPath     "/usr/share/fonts/X11/75dpi"
46         # FontPath     "/usr/share/fonts/ttf/western"
47         # FontPath     "/usr/share/fonts/ttf/decoratives"
48         FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
49         FontPath     "/usr/share/fonts/latex-ttf-fonts"
50         FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
51 EndSection
52
53 # Modules - see /usr/lib/xorg/modules/fonts and /usr/lib/xorg/modules/extensions
54 Section "Module"
55         Load  "dbe"       # double buffer extension
56         Load  "dri"       # direct rendering
57         Load  "glx"       # 3D layer
58         Load  "type1"     # font module
59         Load  "freetype"  # font rendering
60         Load  "extmod"    # some commonly used server extensions (e.g. shape extension)
61         Load  "record"    # recording extension
62         Load  "evdev"     # generic input handling driver on Linux
63         # Load  "vbe"       # Vesa BIOS Extension
64         # Load  "ddc"       # ddc probing of monitor
65         # Load  "bitmap"    # bitmap fonts
66         # Load  "GLcore"    # render OpenGL in software
67         # Load  "i2c"       # I2C bus
68         # Load  "int10"     # initialize graphics cards via int10 call to the BIOS
69         # Load  "speedo"    # font module
70         # Load  "v4l"       # Video for Linux
71 # Valid entries - see /usr/lib/xorg/modules/[extensions/]
72 # afb bitmap cfb cfb16 cfb24 cfb32 cw damage dbe ddc dri drm extmod fb
73 # fbdevhw freetype GLcore glx i2c int10 int10 layer mfb pcidata rac ramdac
74 # record scanpci shadow shadowfb type1 vbe vgahw xaa xf1bpp xf24_32bpp xf4bpp
75 # xf8_16bpp xf8_32bpp xtrap
76 EndSection
77
78 # If you'd like to switch the positions of your capslock and control keys, use:
79 # Option "XkbOptions" "ctrl:swapcaps"
80 # Or if you just want both to be control, use:
81 # Option "XkbOptions" "ctrl:nocaps"
82 # More information: http://ftp.x.org/pub/X11R7.0/doc/html/XKB-Config.html
83 # Section "InputDevice"
84 #         Identifier  "Keyboard0"
85 #         Option      "CoreKeyboard"
86 #         # Driver      "kbd"
87 #         Option      "XkbRules"   "xfree86"
88 #         Option      "XkbRules"   "xorg"
89 #         Option      "XkbModel"   "pc105"
90 #         Option      "XkbLayout"  "us"
91 #         Option      "XkbVariant" "nodeadkeys"
92 #         # Option      "XkbOptions" "ctrl:swapcaps,grp:alt_shift_toggle,grp_led:scroll,compose:menu"
93 # EndSection
94
95 # More information: http://ftp.x.org/pub/X11R7.0/doc/html/mouse.html
96
97 Section "InputDevice"
98         Identifier      "Generic Mouse"
99         # Driver      "mouse" # old one
100         Driver      "vmmouse" # see 'man vmmouse'
101         Option          "Device"                "/dev/input/mice"
102         Option          "Protocol"              "auto"
103         Option          "ZAxisMapping"          "4 5"
104         Option          "Buttons"               "5"
105         Option          "SendCoreEvents"        "true"
106 EndSection
107
108 Section "Monitor"
109         Identifier   "Monitor0"
110         Option       "DPMS"      "true"
111         HorizSync    31.0 - 61.0
112         VertRefresh  50.0 - 90.0
113 EndSection
114
115 Section "Device"
116         Identifier  "Card0"
117         Driver      "vmware"
118         VendorName  "All"
119         BoardName   "All"
120         # BusID       "PCI:1:0:0"
121 EndSection
122
123 Section "Screen"
124         Identifier "Screen0"
125         Device     "Card0"
126         Monitor    "Monitor0"
127         DefaultColorDepth 16
128         SubSection "Display"
129                 Depth     1
130                 Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
131         EndSubSection
132         SubSection "Display"
133                 Depth     4
134                 Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
135         EndSubSection
136         SubSection "Display"
137                 Depth     8
138                 Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
139         EndSubSection
140         SubSection "Display"
141                 Depth     15
142                 Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
143         EndSubSection
144         SubSection "Display"
145                 Depth     16
146                 Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
147         EndSubSection
148         SubSection "Display"
149                 Depth     24
150                 Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
151         EndSubSection
152         SubSection "Display"
153                 Depth     32
154                 Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
155         EndSubSection
156 EndSection
157
158 # Make sure you have the relevant Debian packages on your system
159 # to be able to use DRI (libgl1-mesa-dri for example)
160 Section "DRI"
161         Mode 0666
162 EndSection
163
164 #Section "Extensions"
165 #    Option "Composite" "Enable"
166 #EndSection
167
168 ## END OF FILE #################################################################