From ef36cf1315bf1dd2713a850ab4519e3cd4f9fb0b Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Thu, 14 Apr 2016 10:21:55 -0400 Subject: [PATCH] Update arch setup notes --- notes/setup.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/notes/setup.md b/notes/setup.md index e03dfd7..326fc93 100644 --- a/notes/setup.md +++ b/notes/setup.md @@ -58,3 +58,14 @@ Vim might not work properly when writing commit messages. To fix, run: ``` + +* map caps key to left-ctrl (see https://wiki.archlinux.org/index.php/Map_scancodes_to_keycodes for details) + * edit `/etc/udev/hwdb.d/10-my-modifiers.hwdb` + * add: + + ``` + evdev:atkbd:dmi:* # built-in keyboard: match all AT keyboards for now + KEYBOARD_KEY_3a=leftctrl # bind capslock to leftctrl + ``` + + * run `udevadm hwdb --update` then reboot