HP Visualize J5000 HP Workstations - Graphics Administration Guide For Red Hat - Page 38

Customizing the mouse and keyboard, Customizing keyboard input

Page 38 highlights

• The xmodmap client. Customizing keyboard input You can remap any key on the keyboard to any other key by using xmodmap. This can also be done by modifying the keytables maintained by the kernel. See loadkeys (1), mapkeys(5), and dumpkeys(1) Modifying modifier key bindings with xmodmap To change the meaning of a particular key for a particular X11 session, or to initialize the X server with a completely different set of key mappings, use the xmodmap client. The syntax for xmodmap is as follows: xmodmap [] where are: -display : Specifies the host, display number, and screen to use. -help Displays a brief description of xmodmap options. -grammar Displays a brief description of the syntax for modification expressions. -verbose Prints log information as xmodmap executes. -quiet Turns off verbose logging. This is the default. -n Lists changes to key mappings without actually making those changes. -e Specifies a remapping expression to be executed. -pm, -p Prints the current modifier map to the standard output. This is the default. -pke Prints the current keymap table to the standard output in the form of expressions that can be fed back to xmodmap. -pp Print the current pointer map to the standard output. Specifies that the standard input should be used for the input file. Specifies a particular key mapping file to be used. Specifying key remapping expressions Graphics Administration Guide For Red Hat Linux 6.2

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73

The
xmodmap
client.
Customizing keyboard input
You can remap any key on the keyboard to any other key by using
xmodmap
. This can
also be done by modifying the keytables maintained by the kernel. See
loadkeys (1)
,
mapkeys(5)
, and
dumpkeys(1)
Modifying modifier key bindings with
xmodmap
To change the meaning of a particular key for a particular X11 session, or to initialize the
X server with a completely different set of key mappings, use the
xmodmap
client.
The syntax for
xmodmap
is as follows:
xmodmap
<
options>
[<
filename>
] where
<
options>
are:
-display
<
host>
:
<
display>
Specifies the host, display number, and screen to use.
-help
Displays a brief description of
xmodmap
options.
-grammar
Displays a brief description of the syntax for modification expressions.
-verbose
Prints log information as
xmodmap
executes.
-quiet
Turns off verbose logging. This is the default.
-n
Lists changes to key mappings without actually making those changes.
-e
<
expression>
Specifies a remapping expression to be executed.
-pm, -p
Prints the current modifier map to the standard output. This is the default.
-pke
Prints the current keymap table to the standard output in the form of expressions
that can be fed back to
xmodmap
.
-pp
Print the current pointer map to the standard output.
-
Specifies that the standard input should be used for the input file.
<
filename>
Specifies a particular key mapping file to be used.
Specifying key remapping expressions
Graphics Administration Guide For Red Hat Linux 6.2