You are not logged in.
I have followed the wiki in order to create my custom keymap by modifying the US keymap and setting the Caps Lock key to be the Control key.
Then I load the keymap with /etc/vconsole.conf.
So far so good, it works great from within the console (no X or Wayland).
Now I have just switched my TTY2 to use KMSCON to get better looking fonts in the console by following the wiki : https://wiki.archlinux.org/title/KMSCON
That also work well. But in this KMSCON I understand the vconsole.conf has no effect and my custom keymap does not get loaded.
When I try to load my keymap manually with loadkeys /usr/share/kbd/keymaps/personal_us.map I get the message :
Couldn't get a file descriptor referring to the console.
After some research I was unable to find the proper way to configure this console to use Caps Lock as a Control key.
Any hints would be appreciated.
Thanks.
Last edited by kumala (2023-06-08 08:57:42)
Offline
Offline
If you haven't made other changes, there's no need for the full keymap, just set the single option for kmscon with "--xkb-options caps:escape"
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks to you both. Indeed that works perfectly with xkb.
Offline