beautypg.com

Keyboard settings for x window system – NEC Express5800 Series EXP320B User Manual

Page 96

background image

3-14

Linux Setup and Operation

KEYBOARD SETTINGS FOR X WINDOW SYSTEM

The keyboard for X Window System is set to Japanese by default. (Keyboard model: jp106,
Keyboard layout: jp)

If you use a non-Japanese keyboard, follow the procedure below to change your keyboard
settings.

2.

Open “/etc/X11/xgem.conf” on an editor.

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#

Option

"Xleds"

"1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#

Option

"XkbDisable"

# To customize the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).

For example, for a non-U.S.

# keyboard, you will probably want to use:
#

Option

"XkbModel"

"pc102"

# If you have a US Microsoft Natural keyboard, you can use:
#

Option

"XkbModel"

"microsoft"

#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#

Option

"XkbLayout"

"de"

# or:
#

Option

"XkbLayout"

"de"

#

Option

"XkbVariant"

"nodeadkeys"

#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#

Option

"XkbOptions"

"ctrl:swapcaps"

# Or if you just want both to be control, use:
#

Option

"XkbOptions"

"ctrl:nocaps"

#

Identifier "Keyboard0"
Driver

"kbd"

Option

"XkbModel" "jp106"

Option

"XkbLayout" "jp"

EndSection