Merry Xmas guys!
Attached is a little Xmas present for Jornada users with german keyboard layout: I spent some time to tweak the layout in both console and X11 so that the keys produce the characters as per their labels, in particular for the characters needed on the commandline - tilde, bar, greater, less etc.
Also pageup, pagedown and the console scollback
(alt-shift up/down arrow
) feature should work as expected.
Copy the files to your home folder, then do:
- on the console:
loadkeys de-j720-key.map
- in X:
xmodmap de-j720-Xmodmap
Here's the prodedure to tweak the keymaps:
Console:
dump the current keymap:
dumpkeys > test.map
edit the keymap:
vi test.map
test the keymap:
loadkeys test.map
X11:
dump the keymap:
xmodmap -pke > test.Xmodmap
edit the keymap:
vi test.Xmodmap
test the keymap:
xmodmap test.Xmodmap
Once you're happy with the keymap, you can make it permanent by:
- copying the one for the console to /etc and adding "/usr/bin/loadkeys /etc/de-j720-key.map"
- copying the one for X to /etc/X11/xinit/.Xmodmap -- it will get picked up automatically
Below are the keycodes that the J720 keyboard sends for each of the keys. This should be independant of the language, i.e. it's the raw codes from the keymatrix regardless of the keycap. It's somewhat different from the standard PC layout which is why it's not working out of the box
HP Jornada 720 Keycodes under Linux
Format:
Key
Keycode
Console:
--------
ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 PWR
1 59 60 61 62 63 64 65 66 67 68 87 245
1 2 3 4 5 6 7 8 9 0 ß ' <-
2 3 4 5 6 7 8 9 10 11 12 13 14
Q W E R T Z U I O P Ü + ENTER
16 17 18 19 20 21 22 23 24 25 43 26 28
TAB A S D F G H J K L Ö Ä #
15 30 31 32 33 34 35 36 37 38 39 40 27
LSH Y X C V B N M , . - UP RSH
42 44 45 46 47 48 49 50 51 52 74 103 54
STRG WIN ALT ^ SPC ATGR ENTF LEFT DOWN RIGHT
29 55 56 41 57 53 111 105 108 106
Audio Keys
+ - Play
115 114 113
X (codes shifted by 8 for whatever reason):
----------------------------------
ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 PWR
9 67 68 69 70 71 72 73 74 75 76 95
1 2 3 4 5 6 7 8 9 0 ß ' <-
10 11 12 13 14 15 16 17 18 19 20 21 22
Q W E R T Z U I O P Ü + ENT
24 25 26 27 28 29 30 31 32 33 51 34 36
TAB A S D F G H J K L Ö Ä #
23 38 39 40 41 42 43 44 45 46 47 48 35
LSH Y X C V B N M , . - UP RSH
50 52 53 54 55 56 57 58 59 60 82 111 62
STRG WIN ALT ^ SPC ATGR ENTF LEFT DOWN RIGHT
37 63 64 49 65 61 119 113 116 114
Audio Keys
+ - Play
123 122 121
Kind regards
timo
Attachments
----------------
de-j720-keymaps.tgz (10KB - 7 downloads)