You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xrdp-proprietary/genkeymap/readme.txt

44 lines
1.1 KiB

11 years ago
Creating a new keymap file.
---------------------------
15 years ago
The names of the files are of the format;
15 years ago
km-xxxx.ini
11 years ago
where the xxxx is replaced by the hex number of the layout of interest.
The files have 8 sections;
15 years ago
[noshift], [shift], [altgr], [shiftaltgr], [capslock], [capslockaltgr],
[shiftcapslock], [shiftcapslockaltgr]
15 years ago
11 years ago
In each section there are multiple lines for each key.
15 years ago
11 years ago
An example line looks like;
15 years ago
Key10=49:49
In this line, 10 is the X11 scancode, the first 49 is the keysym value,
the second 49 if the unicode value of the key. This is the definition
for the 'noshift' '1' key on a en-us keyboard. In this case, the keysym
11 years ago
and the unicode value are the same.
Here is an example where they are not;
This is the definition for the backspace key;
15 years ago
Key22=65288:8
11 years ago
And this is the star on the keypad;
15 years ago
Key63=65450:42
11 years ago
To create a new file run "xrdp-genkeymap <filename>"
Example: ./xrdp-genkeymap /etc/xrdp/km-0409.ini
15 years ago
11 years ago
Note: You need to have enough rights to be able to write to the
/etc/xrdp directory.
15 years ago
11 years ago
Alternatively, create the keymap file in a directory of your choice, then
copy or move it over to /etc/xrdp using sudo/su.
15 years ago