How to remap key on i3
asked Jun 1 '15

This post is a wiki. Anyone with karma >100 is welcome to improve it.
hello, I would like to know how I can remap key like Lock key to make it function as Ctrl key thank you
add a comment
asked Jun 1 '15
This post is a wiki. Anyone with karma >100 is welcome to improve it.
hello, I would like to know how I can remap key like Lock key to make it function as Ctrl key thank you
You have to use xmodmap
. The following commands work on my computer:
xmodmap -e "remove lock = Caps_Lock"
xmodmap -e "keycode 66 = Control_L"
xmodmap -e "add control = Control_L"
66 is the code of the Caps Lock key on my keyboard.
Asked: Jun 1 '15
Seen: 179 times
Last updated: Jun 03