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