SCSA10-1 Objective 3.4 - x64/x86 keyboard, display, mouse configuration

Use the Xorg configuration files or kdmconfig utility to configure the keyboard, display, and mouse devices for an x64 and x86 based system.

The /etc/X11/xorg.conf file (see its man page for the nitty gritty details) contains the configuration for keyboard, mouse, and display, in addition to several other devices.

The keyboard section of xorg.conf is described here looks something like:

Section "InputDevice"
  Identifier "Generic Keyboard"
  Driver "keyboard"
  Option "CoreKeyboard"
  Option "XkbRules" "xorg"
  Option "XkbModel" "pc105"
  Option "XkbLayout" "en"
EndSection

A sample mouse configuration chunk looks like:

Section "InputDevice"
  Identifier "TouchPad Mouse"
  Driver "mouse"
  Option "CorePointer"
  Option "Device" "/dev/input/mouse0"
  Option "Protocol" "IMPS/2"
  Option "ZAxisMapping" "4 5"
EndSection

Extensive studying of the xorg.conf configuration file is probably low yield for the exam. The kdmconfig command is the preferred way to modify these device settings and provides and more approachable and somewhat automated approach to device configuration.

When run without any command line options, kdmconfig will allow editing of the current configuration. Running kdmconfig with -u causes an unconfiguration in which the current device configs will be erased. A new configuration can then be created by running kdmconfig with the -c option. Before exiting without options or with the -c option, the new configuration will be tested before committing to disk.

Comments are closed.