# License: This file is licensed under the GPL v2.
################################################################################
+
+. /usr/lib/grml/core.sh
+
# debugging {{{
# usage: DEBUG=1 grml-x ..... 2>/tmp/grml-x-debug.log
if [[ $DEBUG -gt 0 ]]; then
# functions and color {{{
# use colors only if not booted with nocolor bootoption
- if ! grep -q nocolor /proc/cmdline ; then
+ if ! checkbootparam nocolor ; then
autoload colors ; colors
[ -r /etc/grml_colors ] && . /etc/grml_colors
fi
Screen 0 "Screen0" 0 0
# InputDevice "Keyboard0" "CoreKeyboard"
# InputDevice "Generic Mouse" "CorePointer"
+ Option "AutoAddDevices" "off" # do not depend on running dbus/hal
$MOUSE
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true" # allows the server to start up even if the mouse does not work
Option "DontVTSwitch" "false" # allow switching between virtual terminal
- # Option "DontZap" "true" # disable <Crtl><Alt><BS> (server abort)
+ Option "DontZap" "false" # enable <Crtl><Alt><BS> (server abort)
# Option "DontZoom" "true" # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection
Load "dbe" # double buffer extension
Load "dri" # direct rendering
Load "glx" # 3D layer / GLX extension
- Load "type1" # type1 font module
- Load "freetype" # freetype fonts rendering
Load "extmod" # some commonly used server extensions (e.g. shape extension)
Load "record" # recording extension
Load "evdev" # generic input handling driver on Linux
Load "xtrap" # X Trap extension
- # Load "vbe" # Vesa BIOS Extension
+ # Load "freetype" # freetype fonts rendering
# Load "i2c" # I2C bus
# Load "int10" # initialize graphics cards via int10 call to the BIOS
+ # Load "type1" # type1 font module
# Load "v4l" # Video for Linux
+ # Load "vbe" # Vesa BIOS Extension
## Deprecated/unneeded modules with Xorg >=7.0:
# Load "speedo" # font module (does not exist anymore)
# Load "ddc" # ddc probing of monitor (automatically loaded)