It’s a known issue that there’s a delay when releasing Caps Lock. It’s really annoying if you use Caps Lock for capitalization.
What happens to me is this: HEre is HOw it LIkes, because of the delay when releasing Caps Lock.
What fix worked for me :
Replace the entity of ctrl_modifier with below one inside. (Don't forget to change permission of file to edit and revert the permission to
origin)
// This changes the <CAPS> key to become a Control modifier,
// but it will still produce the Caps_Lock keysym.
hidden partial modifier_keys
xkb_symbols "ctrl_modifier" {
key <CAPS> {
type="ALPHABETIC",
repeat=No,
symbols[Group1]= [ Caps_Lock, Caps_Lock ],
actions[Group1]= [ LockMods(modifiers=Lock),
LockMods(modifiers=Shift+Lock,affect=unlock) ]
};
};Then open your Tweaks and select "Make CapsLock act as additional..." for Keyboard Caps Lock behavior.
You should log out and log in again to see result.