Summary: | genkernel-4.0.0_beta17's colemak, bepo keymaps are actually qwerty | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | James Wah <james-gentoo> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | james-gentoo |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
colemak binary map
correct bepo.map |
Description
James Wah
2019-10-04 11:49:40 UTC
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=8376cbfaf4c091427853d81ec0f956d9a285148b commit 8376cbfaf4c091427853d81ec0f956d9a285148b Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-10-04 12:45:22 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-10-04 12:45:22 +0000 keymaps: Really add bepo and colemak keymap Fixes a5ea613 ("keymaps: Add bepo and colemak keymap") Bug: https://bugs.gentoo.org/696204 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> defaults/keymaps/bepo.map | Bin 2823 -> 2823 bytes defaults/keymaps/colemak.map | Bin 2823 -> 3642 bytes 2 files changed, 0 insertions(+), 0 deletions(-) Thanks, should be in beta19. Hopefully released with genkernel-4.0.0_beta19! Please give it a try... Thanks for the prompt change! Apologies for the delay in testing. Unfortunately the colemak map did not quite make it in to the tree; the committed file contains busybox help text and so loadkmap barfs. Also, the bepo.map still seems to implement qwerty? hexdump suggests, and testing in the initrd seems to confirm this. You are right, sorry: I see it in my bash history. I used > busybox < en-latin9.map > colmark.map instead of > busybox dumpkmap < en-latin9.map > colmark.map Regarding bepo: I see nothing wrong here, source is coming from latest sys-apps/kbd package: cp /usr/share/keymaps/i386/bepo/fr-bepo-latin9.map.gz . gzip -d fr-bepo-latin9.map.gz busbox dumpkmap < fr-bepo-latin9.map > bepo.map Aha, I think I see the issue (after getting distracted by some other problem with sys-apps/kbd).
dumpkeys reads from the console's loaded keymap - it's not smart enough to parse the (complicated) kbd map files.
So it needs:
> sudo loadkeys /usr/share/keymaps/colemak/en-latin9.map
> busybox dumpkmap > colemak.map
Switching your keymap back can be a fun game... except I ran into a problem where loadkeys failed when called a second time. (If that happens for you too I'll file a kbd bug.)
Thanks again!
Created attachment 592552 [details]
colemak binary map
Created attachment 592554 [details]
correct bepo.map
I tried reproducing my loadkeys issue, couldn't, and since I was there, retrieved the maps for you
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=0a228ed66f8bab1038e55ba9a25ee40a95ca0622 commit 0a228ed66f8bab1038e55ba9a25ee40a95ca0622 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-10-13 14:40:04 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-10-13 14:40:04 +0000 keymaps: regenerate bepo and colemak keymap Used command: $ loadkeys /usr/share/keymaps/colemak/en-latin9.map $ busybox dumpkmap > colemak.map Fixes a5ea613 ("keymaps: Add bepo and colemak keymap") Bug: https://bugs.gentoo.org/696204 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> defaults/keymaps/bepo.map | Bin 2823 -> 2823 bytes defaults/keymaps/colemak.map | Bin 3642 -> 2823 bytes 2 files changed, 0 insertions(+), 0 deletions(-) Released with v4.0.0_beta20! I didn't use your attached files, I followed your guide and created files on my own. Would be nice if you tell us if this now working for you as expected. Looks great to me! Thanks for fixing this, and thank you for adding them in the first instance, as well. Thank you for your assistance and testing! |