XF86Config – Part V

XF86Config – Part V

Today, we’ll look at another crucial component in the XF86Config file, your keyboard configuration.

Protocol subsection:
Two choices exist for the keyboard protocol – standard and XQueue. Xqueue is seldom used in Linux, leaving the standard protocol as the most-used and safest for your configuration.

AutoRepeat subsection:
This subsection defines the key auto-repeat rate for your X Window system. The configuration contains two numbers – the delay value and he rate value. The delay value is set in .001 second increments and defines the period of time during which the keyboard will wait to start its auto-repeat. In other words, a value of 500 is 1/2 second. The rate value defines how quickly the keyboard will repeat a particular character. The default setting of 5 is acceptable for most users.

ServerNumLock subsection:
When this flag is set in XF86Config, your keyboard uses a different key mapping to allow for handling of the NumLock key.

Xleds subsection:
Xleds defines which of the keyboard LEDs (NumLock, CapsLock and ScrollLock) can be remapped by users. The mapping number is a value from 1 – 3; 1 = NumLock, 2 = CapsLock, 3 = ScrollLock. If, for some reason, you wanted to set the RightCtl key to light up the ScrollLock LED, the line in Xleds would read:

RightCtl 3

I know – someone is surely going to write and ask, “Why on earth would you want to remap the LEDs?” Good question. No reason that I could think of. But, you do have that capability should you think of a good readon to do it.

That’s the gist of the Keyboard section in the SF86Config file. Tomorrow, we’ll swing through the Pointer section.