diff options
author | Kevin Cave <kevin@scarygliders.net> | 2014-01-18 16:44:08 +0000 |
---|---|---|
committer | Kevin Cave <kevin@scarygliders.net> | 2014-01-18 16:44:08 +0000 |
commit | 2aa8d672d98e4a6d4581e4977e568058a381efbd (patch) | |
tree | 434e628165c1c20ca4659b4c025a1ecc6a002a08 /genkeymap/readme.txt | |
parent | c548657c7b52f867c9d7598231219fd90ba7fe81 (diff) | |
download | xrdp-proprietary-2aa8d672d98e4a6d4581e4977e568058a381efbd.tar.gz xrdp-proprietary-2aa8d672d98e4a6d4581e4977e568058a381efbd.zip |
Update readme.txt
Diffstat (limited to 'genkeymap/readme.txt')
-rw-r--r-- | genkeymap/readme.txt | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/genkeymap/readme.txt b/genkeymap/readme.txt index 0cfeb2e9..344fce72 100644 --- a/genkeymap/readme.txt +++ b/genkeymap/readme.txt @@ -1,35 +1,42 @@ - -crating a new keymap file. +Creating a new keymap file. +--------------------------- The names of the files are km-xxxx.ini -where the xxx is replaces ny the hex number of the layout of interest. +where the xxxx is replaced by the hex number of the layout of interest. + +The files have 6 section -The files have 5 section +[noshift], [shift], [altgr], [shiftaltgr], [capslock], [shiftcapslock] -[noshift], [shift], [altgr], [capslock], [shiftcapslock] +In each section there are multiple lines for each key. -In each section there are multiple lines for each key -An example line looks like +An example line looks like; 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 -and the unicode value are the same. Here is an example where they are -not. -This is the definition for the backspace key. +and the unicode value are the same. + +Here is an example where they are not; + +This is the definition for the backspace key; Key22=65288:8 -And this is the star on the keypad +And this is the star on the keypad; Key63=65450:42 -To create a new file run xrdp-genkeymap filename +To create a new file run "xrdp-genkeymap <filename>" + +Example: ./xrdp-genkeymap /etc/xrdp/km-0409.ini -Example ./xrdp-genkeymap /etc/xrdp/km-0409.ini +Note: You need to have enough rights to be able to write to the +/etc/xrdp directory. -Note: You need to have rights to the /etc/xrdp directory. +Alternatively, create the keymap file in a directory of your choice, then +copy or move it over to /etc/xrdp using sudo/su. |