 |
Index for Section 1 |
|
 |
Alphabetical listing for D |
|
 |
Bottom of page |
|
dxkeyboard(1)
NAME
dxkeyboard - Brings up a dialog box with which the user can customize
keyboard settings
SYNOPSIS
/usr/dt/bin/dxkeyboard [-load]
OPTIONS
-load
Loads the saved keyboard type from the command line. See the section
Saving and Loading Settings, below.
DESCRIPTION
The dxkeyboard command displays the Keyboard Options dialog box which lets
the user:
· select a localized (language-specific or country-specific) keymap
· run the Keycaps program
· set the lock key state (Caps Lock or Shift Lock).
The localized keymap is based on the keyboard type the user selects from a
list box in the dialog box. The keyboard defaults to the system's default.
Typically, a user will run dxkeyboard once to obtain the proper keyboard
settings for the system. For subsequent sessions, the keyboard settings
should be restored by placing the command dxkeyboard -load in a login
script. See Saving and Loading Settings, below.
The keyboard lock key state is selected by clicking on the Caps Lock or
Shift Lock toggle button and clicking OK or Apply.
The lock key state determines whether only letter keys or also number and
symbol keys are shifted after the caps lock key has been pressed. When a
letter key is shifted, the uppercase (capital) letter is typed. When a
number or symbol key (that is, a key with two characters on the keycap) is
shifted, the upper of the two characters is typed.
The default lock key state is Caps Lock. In this state, when the lock key
on the keyboard is pressed, letter keys are shifted but number and symbol
keys are not shifted. If Shift Lock is selected, the lock key causes all
keys to be shifted so that both capital letters and shifted number and
symbol keys are typed.
When dxkeyboard starts, it queries the server for the X Keyboard Extension.
The interface of the dialog box and the subsequent actions are different
depending on the results of this query.
dxkeyboard without the X Keyboard Extension
Without the X Keyboard Extension, the application displays one list box
from which to choose a keyboard type. The keyboard types are defined in
/usr/lib/X11/keymaps. The first item in the list box, and the default, is
System Default. Selecting a keyboard type with the OK or Apply button runs
xmodmap to load the corresponding keyboard definition file.
dxkeyboard with the X Keyboard Extension
With the X Keyboard Extension, dxkeyboard displays two list boxes, Language
and Keyboard Type.
The Language list box displays the name of the language specific keymap
files in /usr/lib/X11/xkb. When a particular language is selected, the
Keyboard Type list box displays the keyboard types that can be used with
that language. When a keyboard type is selected, the Keyboard Style toggle
buttons for Typewriter mode and Data Processing mode become available if
there are keymap definitions for both of these modes.
The system default language and keymap are found by clicking the System
Default push button. This uses xkbdfltmap to find the values. These values
are then highlighted in the list boxes. The OK and Apply buttons use
xkbcomp to set the keyboard type.
Saving and Loading Settings
When the user clicks on the OK or Apply button, the selected keyboard type
and lock key state are saved as resource values in $HOME/DXkeyboard and
become the initial values if dxkeyboard is run again by the same user. The
saved keyboard type also can be loaded from the command line with the -load
option. Generally, a user would include the following line in the .profile,
.login, or .cshrc file (depending the login shell used):
/usr/dt/bin/dxkeyboard -load
Edit Keycaps Button
The Edit Keycaps... button starts the dxkeycaps program with the selected
keyboard type.
The Edit Keycaps... button lets the user edit only keyboards that have been
defined by the dxkeycaps program. If the selected keyboard model is not
found, the default is the PCXAL keyboard.
RESTRICTIONS
If you use the dxkeyboard application to change the keymap, X11R5 clients
are not notified of the change. For example, a terminal emulator window
running on a DIGITAL UNIX Version 3.2 system and displaying to a Tru64 UNIX
Version 4.0 or higher system is not notified that the keyboard mapping has
changed. To avoid this problem, enter the following command after using
dxkeyboard to change the keymap:
xmodmap -e "keycode 248 = NoSymbol"
SEE ALSO
Commands: dxkeycaps(1X), xmodmap(1X), xkbcomp(1X), xkbdfltmap(1X)
The dxkeyboard online help provides additional information.
 |
Index for Section 1 |
|
 |
Alphabetical listing for D |
|
 |
Top of page |
|