1
0
forked from extern/nix-config
donovanglover-nix-config/xmodmap
Donovan Glover 0db520b429
docs: Update READMEs for ssh-agent, vim, and xmodmap
This completes the process of updating all the old READMEs
to the new format.
2018-11-23 00:27:58 -05:00
..
.xmodmap stow: Split desktop package into term and xmodmap 2018-10-22 23:26:25 -04:00
README.md docs: Update READMEs for ssh-agent, vim, and xmodmap 2018-11-23 00:27:58 -05:00

xmodmap

xmodmap is used to change the functionality of keys on your keyboard.

Use Cases

xmodmap can be used to:

  • Make Caps Lock function as Ctrl when held down
  • Used with xcape to make Caps Lock function as Escape when pressed

You should not use xmodmap if:

  • You do not need to modify keys

Usage

Run xmodmap ~/.xmodmap in one of your init scripts to make Caps Lock function as Ctrl when held down.

Then, use xcape -e 'Control_L=Escape' to make Caps Lock (left Ctrl) function as Escape when pressed.