EasyManuals Logo
Home>HP>Server>T5135 - Compaq Thin Client

HP T5135 - Compaq Thin Client Introduction

HP T5135 - Compaq Thin Client
7 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #5 background imageLoading...
Page #5 background image
5
The first and easiest method is to go to a symbols declaration that you know uses the symbol and see
what name it shows. For example, you know that the us keyboard layout has will display the |
symbol when you press Shift+\. You can look through the symbol declarations in
<base>/symbols/us and see that <BKSL> is set to [ backslash, bar ].
The second method is to refer to the Unicode characters Xorg has predefined. Xorg defines most
Unicode characters in the file /usr/include/X11/keysymdef.h. This file is included in the
debian package x11proto-core-dev. For the most part this will require that you know the
Unicode value of the character you’re looking for, although you can attempt to search or browse the
file to look for the correct declaration line. For example, you’d like to generate the symbol | but are
not sure what it’s called. You search for LINE and find the following declaration:
#define XK_bar 0x007c /* U+007C VERTICAL LINE */
You can then create your symbol declaration as shown below:
xkb_symbols “bar-z” {
key <AB01> { [ bar, z ] };
};
For the third method, rather than try to find the name of the Unicode value in the keysymdef.h file,
you can use the Unicode value directly. Use the official Unicode charts at
http://unicode.org/charts to
look up characters based on what script they are a part of and enter the Unicode value directly into
the symbol declaration. Make sure to precede the Unicode value with 0x100 so that they can be
parsed correctly. For example, the previous keymapping could also be declared like this:
xkb_symbols “bar-z” {
key <AD11> { [ 0x100007c, 0x100007a ] };
};
Get key name by keycode
Suppose you want to set the forward slash (/) key on the keypad of a us keyboard to the less-than (<)
symbol, but cannot find the key name for the / key in any symbol files. You can use the command
xev to find this information.
Run xev from the command line. It will bring up a small GUI with a little white box. Select the title bar
on the GUI and press the key in question. You should get output on the command line like this:
KeyRelease event, serial 29, synthetic NO, window 0x2600001,
root 0x3e, subw 0x0, time 3953390030, (90, -21), root:(754,455),
state 0x10, keycode 112 (keysym 0xffaf, KP_Divide), same_screen YES,
XLookupString gives 1 bytes: (2f) “/”
To find the key name you can search the <base>/keycodes/xfree86 file for the keycode 112
shown on the third line of the xev output. On line 122 of <base>/keycodes/xfree86 we see that
keycode 112 is set to <KPDV>. Once you have the key name you can enter it directly into the symbol
declaration as shown below:
xkb_symbols “sample” {
include “us(pc105)”
key <KPDV> { [ less ] };
};
Combining keymaps
One special case used frequently in the keymap declaration file is combining keymaps. For example,
the standard French keymap is declared:

Other manuals for HP T5135 - Compaq Thin Client

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP T5135 - Compaq Thin Client and is the answer not in the manual?

HP T5135 - Compaq Thin Client Specifications

General IconGeneral
BrandHP
ModelT5135 - Compaq Thin Client
CategoryServer
LanguageEnglish

Related product manuals