You are not logged in.
Hello,
I have a keyboard whose layout (variant) is uncommon as far as I know. I can choose this layout to use on graphical interfaces, but there is not a option to use on the Linux console/VC.
I could create a custom one, but, in another machine I have (with Alpine Linux), I could choose that layout to use on console.
So, is there a package that adds more keymaps and was not mentioned on the wiki?
Or if I do need to write it myself, is there a chart, a list or something that helps me do that? This seems complex to me.
I have already searched with
localectl list-keymaps
, and this is my current
localectl status
(I want to use the br-nativo on the console):
archlinux% localectl status
System Locale: LANG=pt_BR.UTF-8
VC Keymap: us
X11 Layout: br,us
X11 Model: pc105
X11 Variant: nativo,altgr-intl
X11 Options: grp:win_space_toggle
That's it. And forgive my english, I am not fluent yet.
Last edited by iaguara (2024-10-14 02:32:47)
Offline
$ find /usr/share/kbd/keymaps/ -type f -name "*br*"
/usr/share/kbd/keymaps/i386/qwerty/br-latin1-us.map.gz
/usr/share/kbd/keymaps/i386/qwerty/br-latin1-abnt2.map.gz
/usr/share/kbd/keymaps/i386/qwerty/br-abnt2.map.gz
/usr/share/kbd/keymaps/i386/qwerty/br-abnt.map.gz
$
Have you tried all 4 keymaps ?
Last edited by Lone_Wolf (2024-10-13 11:37:40)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Looks like the Alpine package complies extra local keymap variants:
https://gitlab.alpinelinux.org/alpine/a … #L102-L112
The OP could add that to the Arch PKGBUILD (or submit a feature request).
Para todos todo, para nosotros nada
Offline
Have you tried all 4 keymaps ?
Yes I had, and by some reason these 4 are almost the same.
Looks like the Alpine package complies extra local keymap variants: ...
This was strangely useful, I see they use the ckbcomp command to convert and there is a AUR package for this program.
Installing that, I was able to convert writing this, as that script does:
$ ckbcomp "br" "nativo" | gzip > /usr/local/share/kbd/keymaps/br-nativo.map.gz
And changing my /etc/vconsole.conf to:
KEYMAP=/usr/local/share/kbd/keymaps/br-nativo
If you are doing the same as I did, you need to change the "br" to your country code or language and changing "nativo" to the variant you want, in both commands.
Now it works as I wanted. Thank you for replying.
Offline