This syntax should not be used if more than one X server will be run on the same computer, or if
Selecting Values for X*devices Files
X*devices files use the following special names for positions, devices, and uses:
Values for X*devices Files
Positions | Device Type (Device Class) | Uses |
first | keyboard (keyboard) | keyboard |
second | mouse (pointer) | pointer |
third | tablet (pointer) | other |
fourth | buttonbox (keyboard) |
|
fifth | barcode (keyboard)1 |
|
sixth | one_knob (pointer) |
|
seventh | nine_knob (pointer)2 |
|
| quadrature (pointer) |
|
| touchscreen (pointer) |
|
| trackball (pointer)3 |
|
| null |
|
1The HP barcode reader has two modes: keyboard and ASCII. The modes are set via switches on the reader. If you set the barcode reader to ASCII transmission mode, it appears to the server as a barcode reader and the device name is therefore barcode. However, if you set the barcode reader to emulate a keyboard, the barcode reader appears as a keyboard and the device name should therefore be keyboard. What distinguishes a barcode reader set to keyboard mode from a real keyboard is the relative position or the device file name, depending on which syntax you use.
2The
3Similar to the barcode reader, the trackball appears to the server, not as a trackball, but as a mouse. Therefore, to specify a trackball, use the mouse device name. Again, what specifies the trackball instead of the real mouse is the relative position or the device filename, depending on which syntax you use.
Examples
You can create a system on which the X server runs, but which does not have any input devices. In this case, clients could be run from a remote terminal, or from a remote host, and their output directed to the X server. To create a system with no input, include the following lines in the X0devices file:
first null keyboard first null pointer
Page 84 | Graphics Administration Guide for |