How to remap key on i3
asked 2015-06-01 18:17:44 +0000
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
asked 2015-06-01 18:17:44 +0000
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: 2015-06-01 18:17:44 +0000
Seen: 179 times
Last updated: Jun 03
Copyright i3, 2012 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.