You are not logged in.
How to I disable caps lock before the encrypt hook in /etc/mkinitcpio.conf?
This is my current mkinitcpio.conf configuration:
HOOKS=(base udev autodetect keyboard keymap modconf block encrypt ...
I tried setting the keymap option
/etc/vconsole.conf:
keymap="nocaps"
/usr/share/kbd/keymaps/nocaps.map:
keycode 58 = nul
It's not turned on at boot, I want it disabled completely so clicking it doesn't do anything.
Any ideas?
Last edited by krypek (2022-09-07 09:06:30)
Offline
I think this might be an x/y problem.
I.e. why is caps lock on in the first place when you boot the machine?
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
It's not turned on at boot, I want it disabled completely so clicking it doesn't do anything.
Last edited by krypek (2022-09-07 08:59:00)
Offline
Ah, I see.
keymap="nocaps"
!=
KEYMAP=nocaps
And don't forget
# mkinitcpio -P
and a reboot afterwards.
Last edited by schard (2022-09-07 11:04:34)
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Solved my problem!
/etc/vconsole.conf
KEYMAP=us-nocaps
I copied /usr/share/kbd/keymaps/i386/qwerty/us.map.gz to /usr/share/kbd/keymaps/us-nocaps.map
And added
keycode 58 = nul
at the end.
/usr/share/kbd/keymaps/us-nocaps.map
...
keycode 58 = nul
Offline