You are not logged in.
After a lot of google searches I find plenty of entries like "creating custom keyboard layouts for X11 using XKB" but nothing relevant for the console (I mean without X11 installed).
Even the wiki has entries @ https://wiki.archlinux.org/index.php/Ke … in_console detailing how to add extra keyboard keys but says almost nothing for a pure console environment.
I'm currently using the us-acentos.map which is a text file located on /usr/share/kbd/keymaps/i386/qwerty/us-acentos.map.gz; eg:
# us-acentos.map
# Equivalente ao mapa us, incluindo dead_keys e composições
# dos caracteres acentuados
# Arnaldo Carvalho de Melo <acme@conectiva.com.br>
#
keymaps 0-2,4-6,8-9,12
keycode 1 = Escape Escape
alt keycode 1 = Meta_Escape
keycode 2 = one exclam
alt keycode 2 = Meta_one
shift alt keycode 2 = Meta_exclam
keycode 3 = two at at nul nul
alt keycode 3 = Meta_two
shift alt keycode 3 = Meta_at
keycode 4 = three numbersign
control keycode 4 = Escape
alt keycode 4 = Meta_three
shift alt keycode 4 = Meta_numbersign
...
I can copy and edit the file; the problem is (although some things are obvious) I can't find any relevant documentation on the format/syntax used.
On Windows I used the Microsoft KLC (keyboard layout creator) and at least I see a couple of options for linux but they are all intended for X like the one from the google summer of code.
Can anyone point me in the right direction please ?
Last edited by ivanborodin (2017-03-24 06:14:18)
Offline
That page has exactly the information you need:
https://wiki.archlinux.org/index.php/Ke … figuration
Offline
Do you mean the section you linked to titled "persistent configuration" ?
For what I see it says how to select and sets a given keymap (persistent meaning keeping it at reboot I guess) which I did long time ago.
What I want to do now is create-anew/customize a keymap. I know how to select it and keep it afterwards.
Am I missing something ?
Offline
You rename the file that you want to adapt, hack it to fit your requirements and then make it your default.
See `man keymaps` for the hacking part...
Offline
man keymaps ... this is what I was looking for.
Thanks for your reply Jason !
Offline