|
Subscribers H/PC Sensei Posts: | 992 |
Location: | Northern California | Status: | |
| Timo, Archimark: Great to have the function keys etc working...good job. Now, I hope I can repeat your success. Thanks.
Joval | |
| |
Subscribers H/PC Sensei Posts: | 992 |
Location: | Northern California | Status: | |
| Success! Tar file us-j720-key.map works with no errors after kbd install. The first downloaded us-xxx.map file gave error codes...so possibly corrupted...neeed to use unzipped tar files instead. Thanks!!
Joval | |
| |
Subscribers H/PC Sensei Posts: | 1,195 |
Location: | Silicon Valley | Status: | |
| Hmmmm.....interesting, joval, that it all worked for you.
I had to edit the uncompressed file.
In case someone else needs to edit the file, Timo's instructions for fixing the ' to ` worked fine.
For fixing the ' } ' to work, I followed Timo's instructions, but instead editing key 26, I edited key 43 after using command 'showkey' (not 'showkeys' as Timo wrote ) to find the correct key number to edit.
Now, all is good, keyboard-wise!
Now if I can get a working WiFi card with WPA going, I will be as happy as a clam with J720 and Devuan!
| |
| |
Factor Fanatic Posts: | 64 |
Location: | Germany | Status: | |
| Hi Mark,
great you were able to work it out! So it's the keycode 43 to make the right-bracket work - as I said, I had a 50% chance it would work ;-)
Would you be open to sharing the edited keymap here? Stefan might put it to his Wiki site as well so we have complete keymaps there for others to use them too.
Do you need help with the keymaps for the graphical environment?
Thanks,
Timo | |
| |
Subscribers H/PC Sensei Posts: | 1,195 |
Location: | Silicon Valley | Status: | |
| Hi Timo,
Thank you for all your great help with this!
Would be glad to share the edited keymap here. Just need to boot up 720 and copy file to my computer and then upload....will try to do it today if I can.
I looked at your instructions for X and will try following them and then report back if it works OK.
Best,
Mark | |
| |
Subscribers H/PC Sensei Posts: | 992 |
Location: | Northern California | Status: | |
| Quote timob0 - 2021-01-18 10:01 AM
Hi Mark,
great you were able to work it out! So it's the keycode 43 to make the right-bracket work - as I said, I had a 50% chance it would work ;-)
Would you be open to sharing the edited keymap here? Stefan might put it to his Wiki site as well so we have complete keymaps there for others to use them too.
Do you need help with the keymaps for the graphical environment?
Thanks,
Timo
Oh, I see Mark is right--some keys need fixing. I was just happy to get past the "error code."Mark is the best at these things,IMO, a super tech on details!
| |
| |
Subscribers H/PC Sensei Posts: | 1,195 |
Location: | Silicon Valley | Status: | |
| Quote joval - 2021-01-18 11:41 AM
Quote timob0 - 2021-01-18 10:01 AM
Hi Mark,
great you were able to work it out! So it's the keycode 43 to make the right-bracket work - as I said, I had a 50% chance it would work ;-)
Would you be open to sharing the edited keymap here? Stefan might put it to his Wiki site as well so we have complete keymaps there for others to use them too.
Do you need help with the keymaps for the graphical environment?
Thanks,
Timo
Oh, I see Mark is right--some keys need fixing. I was just happy to get past the "error code."Mark is the best at these things,IMO, a super tech on details!
Hey, joval, thanks for the good words....
I know just enough to be dangerous....
But fortunately, we have several great guides here, so, usually I don't get into too much trouble...before I get some course correction and get back on track...
| |
| |
Subscribers H/PC Sensei Posts: | 1,195 |
Location: | Silicon Valley | Status: | |
| Hi Timo,
Just tried your instructions for keymap in X.....
Created the test.Xmodmap file and opened it in nano, editor I use....
Now I am not clear as to how to edit file correctly.
For keycode 11 (3 + 8 ), it shows:
keycode 11 = 2 at 2 at
How to edit to get the ` grave character when fn key pressed?
For keycode 51 (43 + 8 ), it shows:
keycode 51 = backslash bar backslash bar
How to edit this for adding the rightbrace with fn key press?
Thanks for your help!
Edited by ArchiMark 2021-01-19 3:52 PM
| |
| |
Factor Fanatic Posts: | 64 |
Location: | Germany | Status: | |
| Hi Mark,
the Xmodmap format is organized in a columnar format such that for each keycode you specify the symbols that should be produced when the key is pressed with each of the modifier keys and with Mode_switch being mapped either "AltGr" on the German keyboard or "fn" on the US one. ISO_Level3_Shift is something may be present as "Hyper" or "Super" on some keyboards but I guess it's nothing to worry about for standard keyboards:
keycode X = col1 col2 col3 col4 col5 col6
with
column Key and modifiers pressed
1 Key (no modifier)
2 Shift+Key
3 Mode_switch+Key
4 Mode_switch+Shift+Key
5 ISO_Level3_Shift+Key
6 ISO_Level3_Shift+Shift+Key
thus, on the German keyboard the "Q" key - which produces the at sign when pressed with AltGr (=fn =Mode_switch ) together is:
keycode 24 = q Q at Q at Greek_OMEGA at
So when the keycode 24 is fired from the keyboard, the Xmodmap would specify that it produces lowercase q if no modifier key pressed together with it, uppercase Q if pressed with Shift, @ when pressed with "fn" and so on. I believe you can leave away key/modifier combinations at the end of the line which you don't want to map. It would then assume nothing should happen for that particular combination.
Now, obviously you need to specify which one is the "Mode_switch" key, on the German keyboard where it's the "AltGr" key with code 61, this line does it:
keycode 61 = Mode_switch Alt_R Mode_switch
In your examples, I think it should be like this:
keycode 11 = 2 at grave at
keycode 49 = Mode_switch Alt_R Mode_switch
keycode 51 = backslash bar braceright bar
When doing this for the de keymaps, I used this page as a general reference: https://wiki.archlinux.org/index.php/xmodmap
and this his one as a reference to valid symbol names: https://wiki.linuxquestions.org/wiki/List_of_Keysyms_Recognised_by_X...
Below, I'm pasting an updated version of the key to keycode mapping:
Jornada keyboard mapping (Linux console, for X add 8 to keycode):
Label de: | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | PWR
Label us: | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | PWR
Keycode : | 1 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 87 | 245
Label de: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | ß | ' | <-
Label us: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | <-
Keycode : | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
Label de: | Q | W | E | R | T | Z | U | I | O | P | Ü | + | ENT
Label us: | Q | W | E | R | T | Y | U | I | O | P | \ | | ENT
Keycode : | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 43 | 26 | 28
Label de: | TAB | A | S | D | F | G | H | J | K | L | Ö | Ä | #
Label us: | TAB | A | S | D | F | G | H | J | K | L | Ö | Ä |
Keycode : | 15 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 27
Label de: | LSH | Y | X | C | V | B | N | M | , | . | - | UP | RSH
Label us: | LSH | Z | X | C | V | B | N | M | < | > | | UP | RSH
Keycode : | 42 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 74 | 103 | 54
Label de: | STRG | WIN | ALT | ^ | SPC | ALTG | ENTF | LEFT | DOWN | RIGHT
Label us: | CTRL | WIN | ALT | fn | SPC | / | DEL | LEFT | DOWN | RIGHT
Keycode : | 29 | 55 | 56 | 41 | 57 | 53 | 111 | 105 | 108 | 106
Audio Keys
+ | - | Play
115 | 114 | 113
Oh, one more thing:
In X, you can use the command
xev
to find the keycodes for the keys pressed. In fact, xev will throw a whole lot of stuff at you because it essentially reports all the input events going on, not just keypresses.
Cheers
Timo Edited by timob0 2021-01-19 5:19 PM
| |
| |
Subscribers H/PC Sensei Posts: | 1,195 |
Location: | Silicon Valley | Status: | |
| Hi Timo,
THANKS for all the info and input!
Tried what you suggested.
The edits worked!
But need to get tilde ~, pound stirling, euro, and left brace { working.
I tried editing, but it did not work.
Can you please advise?
Tilde is on keycode 10 (key with the one and exclamation point on it)
Pound Stirling is on keycode 12 (key with 3 and # sign)
Euro is on keycode 13 (key with 4 and $ sign)
Leftbrace { is on keycode 50 (key with p on it)
Thanks! | |
| |
Factor Fanatic Posts: | 64 |
Location: | Germany | Status: | |
| Hi Mark,
we're getting there :- )
For the keys you mentioned, I think you'd need to edit the below lines:
keycode 10 = 1 exclam asciitilde exclam
keycode 12 = 3 numbersign sterling numbersign
keycode 13 = 4 dollar EuroSign dollar
keycode 50 = p P braceleft P
Let me know if this works
Some of the more special symbols might or might not work, I didn't get the Euro sign to show up properly. This has to do with the fonts which need to support those characters.
Cheers
Timo | |
| |
Subscribers H/PC Sensei Posts: | 1,195 |
Location: | Silicon Valley | Status: | |
| Hi Timo,
Thanks again for your help.
Will try what you suggest and report back...
I can see why what I tried did not work.
I used 'pound sterling' instead of 'sterling' and 'Euro' instead of 'EuroSign'.
And did 'p braceleft' for keycode 50.....
Live and learn!
Mark | |
| |
Subscribers H/PC Sensei Posts: | 1,195 |
Location: | Silicon Valley | Status: | |
| Quote timob0 - 2021-01-20 10:42 AM
Hi Mark,
we're getting there :- )
For the keys you mentioned, I think you'd need to edit the below lines:
keycode 10 = 1 exclam asciitilde exclam
keycode 12 = 3 numbersign sterling numbersign
keycode 13 = 4 dollar EuroSign dollar
keycode 50 = p P braceleft P
Let me know if this works
Some of the more special symbols might or might not work, I didn't get the Euro sign to show up properly. This has to do with the fonts which need to support those characters.
Cheers
Timo
Yep, getting closer now, Timo!
Got tilde, pound sterling, Euro working as well as grave `, and }.
What is not working is:
{ keycode 33 just types: p I checked keycode in console and it shows 25 (not 50 as noted in prior message ), so 25 + 8 = 33
in Xmodmap file, currently, looks like
keycode 33 = p P p P
[ keycode 47 just types: ;
] keycode 48 just types: '
Please note that first I edited keycode 50 per your suggestion. Then after loading new updated .Xmodmap file, I get 'pX' when I type a capital letter 'X'. Not good.
Looked at Xmodmap file and see that
keycode 50 = p P p P
keycode 53 = x X x X
So, don't understand why I get 'pX' when I type 'X' ?
Please advise.
Thanks.
Edited by ArchiMark 2021-01-20 11:37 PM
| |
| |
Subscribers H/PC Sensei Posts: | 1,195 |
Location: | Silicon Valley | Status: | |
| * Sorry, post above got confusing....tried to edit it, but then ran out time. So, only partially edited. Therefore, re-posting here. Hope this post is clearer.
Yep, getting closer now, Timo!
Now have tilde, pound sterling, Euro working as well as grave `, { and }.
At first had a problem with the { using keycode 33 just types: p
I checked keycode in console and it shows 25 (not 50 as noted in prior message ), so 25 + 8 = 33 in Xmodmap file, currently, looks like:
keycode 33 = p P p P
Keycode 47 just types: ; instead of the '[' character.
Keycode 48 just types: ' instead of ']' character.
Please note that first I edited keycode 50 per your suggestion. Then after loading new updated .Xmodmap file, I get 'pX' when I type a capital letter 'X'. Not good. Looked at Xmodmap file and see that:
keycode 50 = p P p P
keycode 53 = x X x X
So, don't understand why I get 'pX' when I type 'X' ?
Please advise.
Thanks. Edited by ArchiMark 2021-01-20 11:59 PM
| |
| |
Factor Fanatic Posts: | 64 |
Location: | Germany | Status: | |
| Hi Mark,
just a guess, but maybe you have duplicates in there, i.e. different mappings for the same keycode? Sounds like there might be multiple definitions for the keycode 50 ?
I'll be happy to take a look at your Xmodmap file if you like.
Cheers
timo | |
|
Seconds to generate: 0.265 - Cached queries : 53 - Executed queries : 29
| | |
|