I can't fix CAps LOck delay in KDE NEon

You can try this solution that I have slightly modified from https://old.reddit.com/r/archlinux/comments/qlxh4p/any_way_to_fix_caps_delay_on_wayland/hj7s0td/

Create the following files:
~/.config/xkb/symbols/custom

hidden partial modifier_keys
xkb_symbols "caps_lock_instant" {
	key <CAPS> {
		type="ALPHABETIC",
		repeat=No,
		symbols[Group1] = [ Caps_Lock, Caps_Lock ],
		actions[Group1] = [ LockMods(modifiers=Lock),
			LockMods(modifiers=Shift+Lock,affect=unlock) ]
	};
};

~/.config/xkb/rules/evdev

! option                  = symbols
  custom:caps_lock_instant = +custom(caps_lock_instant)

! include %S/evdev

kuva

Enable “Configure keyboard options” under Keyboard > Advanced

and then open ~/.config/kxkbrc and set Options to custom:caps_lock_instant to enable the custom rule.
kuva

The only difference in my method to the one linked above is that I create a new option instead of replacing an existing one, but since custom xkb options don’t show up in system settings, you’ll have to modify kxkbrc manually to enable the configuration.

You can get an explanation on what exactly the configuration does in the linked reddit comment.

2 Likes