diff options
Diffstat (limited to 'xmodmap.man')
-rw-r--r-- | xmodmap.man | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmodmap.man b/xmodmap.man index 17425e8..4a7a95d 100644 --- a/xmodmap.man +++ b/xmodmap.man @@ -140,7 +140,7 @@ The \fIKEYSYMNAME\fP on the left hand side is translated into matching keycodes used to perform the corresponding set of \fBkeycode\fP expressions. The list of keysym names may be found in the header file \fI<X11/keysymdef.h>\fP (without the \fIXK_\fP prefix) -or the keysym database\fI __projectroot__/lib/X11/XKeysymDB\fP. Note that +or the keysym database \fI __projectroot__/lib/X11/XKeysymDB\fP. Note that if the same keysym is bound to multiple keys, the expression is executed for each matching keycode. .TP 8 @@ -253,6 +253,9 @@ add Lock = Caps_Lock add Control = Control_L .EE .PP +This example can be run again to swap the keys back to their previous +assignments. +.PP The \fIkeycode\fP command is useful for assigning the same keysym to multiple keycodes. Although unportable, it also makes it possible to write scripts that can reset the keyboard to a known state. The following script |