X Server

From Q
Jump to navigation Jump to search

General Information

Be sure so recompile input/video drivers like nvidia-drivers and xf86-input-evdev against the new server ABI when upgrading.

When there are no available nvidia-drivers which support the recent X.Org Server release you can try to pass the -ignoreABI switch to X, for example the configuration for KDE.

File: /usr/share/config/kdm/kdmrc
ServerCmd=/usr/bin/X -br -novtswitch -quiet -ignoreABI

X.Org Server 1.8 and greater

Since X.Org Server 1.8 udev has superseded HAL, it also adds xorg.conf.d directory support to simplify configuration. You no longer need a /etc/X11/xorg.conf or the previous HAL .fdi files.

File: /etc/X11/xorg.conf.d/10-evdev.conf
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
File: /etc/X11/xorg.conf.d/20-nouveau.conf
Section "Device"
        Identifier  "nvidia"
        Driver      "nouveau"
EndSection
File: /etc/X11/xorg.conf.d/50-nvidia.conf
Section "Device"
        Identifier  "nvidia"
        Driver      "nvidia"
        Option      "AddARGBGLXVisuals" "true"
        Option      "AllowGLXWithComposite" "true"
        Option      "RenderAccel" "true"
EndSection
File: /etc/X11/xorg.conf.d/97-evdev.conf
Section "InputClass"
        Identifier "keyboard-all"
        MatchIsKeyboard "on"
        Driver "evdev"
        Option "XkbLayout" "de"
        Option "XkbVariant" "nodeadkeys"
        Option "XkbOptions" "grp:alt_shift_toggle,compose:rwin,terminate:ctrl_alt_bksp"
EndSection