diff --git a/linux/arch/config/readme.md b/linux/arch/config/readme.md deleted file mode 100644 index f08a196..0000000 --- a/linux/arch/config/readme.md +++ /dev/null @@ -1 +0,0 @@ -These are configs from my Arch Linux setup. They go in ~/.config diff --git a/linux/arch/home/Xmodmap b/linux/arch/home/Xmodmap new file mode 100644 index 0000000..1945241 --- /dev/null +++ b/linux/arch/home/Xmodmap @@ -0,0 +1,4 @@ +clear lock +clear control +add control = Caps_Lock Control_L Control_R +keycode 66 = Control_L Caps_Lock NoSymbol NoSymbol diff --git a/linux/arch/readme.md b/linux/arch/readme.md new file mode 100644 index 0000000..2b10a9b --- /dev/null +++ b/linux/arch/readme.md @@ -0,0 +1,4 @@ +Arch linux configs + +* `config` -> map contents to `~/.config`. +* `home` -> map contents to `~/`. diff --git a/notes/setup.md b/notes/setup.md index 22395a5..9f9bd2a 100644 --- a/notes/setup.md +++ b/notes/setup.md @@ -43,7 +43,15 @@ ``` -* map caps key to left-ctrl (see https://wiki.archlinux.org/index.php/Map_scancodes_to_keycodes for details) +## Map caps to left-ctrl + +* Most promising method + + * Install `xorg-xmodmap` + * Map `linux/home/Xmodmap` to ~/ + * The above taken from https://wiki.archlinux.org/index.php/xmodmap + +* Second method: 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: @@ -54,6 +62,7 @@ * run `udevadm hwdb --update` then reboot + # Setting up Ruby * Install rvm