X Windows configuration details

making an x*.hosts file

xmodmap -e “pointer = 1 3 2 4 5" 3-button mouse

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.

-pk

Prints the current keymap table to the standard output.

-pp

Print the current pointer map to the standard output.

-(dash)

Specifies that the standard input should be used for the input file.

<filename>

Specifies a particular key mapping file to be used.

82

Chapter 4