Add a new method of mapping the keyboard in arch
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
These are configs from my Arch Linux setup. They go in ~/.config
|
|
||||||
4
linux/arch/home/Xmodmap
Normal file
4
linux/arch/home/Xmodmap
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
clear lock
|
||||||
|
clear control
|
||||||
|
add control = Caps_Lock Control_L Control_R
|
||||||
|
keycode 66 = Control_L Caps_Lock NoSymbol NoSymbol
|
||||||
4
linux/arch/readme.md
Normal file
4
linux/arch/readme.md
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Arch linux configs
|
||||||
|
|
||||||
|
* `config` -> map contents to `~/.config`.
|
||||||
|
* `home` -> map contents to `~/`.
|
||||||
@@ -43,7 +43,15 @@
|
|||||||
</fontconfig>
|
</fontconfig>
|
||||||
```
|
```
|
||||||
|
|
||||||
* 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`
|
* edit `/etc/udev/hwdb.d/10-my-modifiers.hwdb`
|
||||||
* add:
|
* add:
|
||||||
|
|
||||||
@@ -54,6 +62,7 @@
|
|||||||
|
|
||||||
* run `udevadm hwdb --update` then reboot
|
* run `udevadm hwdb --update` then reboot
|
||||||
|
|
||||||
|
|
||||||
# Setting up Ruby
|
# Setting up Ruby
|
||||||
|
|
||||||
* Install rvm
|
* Install rvm
|
||||||
|
|||||||
Reference in New Issue
Block a user