nix-config/xmodmap
Donovan Glover adc372a0a2
xmodmap: Use print screen as a right super
I've always felt disadvantaged by not having a right super on laptop
keyboards. This fixes that.
2022-07-28 01:29:38 -04:00
..
.xmodmap xmodmap: Use print screen as a right super 2022-07-28 01:29:38 -04:00
README.md Revert "Remove xcape/xmodmap" 2021-05-14 10:20:05 -04: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.