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