Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2528  / 1 Year ago, tue, april 25, 2023, 11:29:52

I use Caps Lock to change keyboard layout since the first year with Linux.



Now, somewhere in the last year some patch added something so now it waits for ~300ms before changing the layout. And if I hit any key before that time ends it doesn't work. AFAIU it's somehow related to using Meta/Win both as modifier and as key. Is that interval tweakable? I don't use it as a modifier at all.


More From » keyboard

 Answers
0
cd /usr/share/X11/xkb/symbols
sudo cp capslock capslock.bak
sudo sed -i 's#key <CAPS> { [ ISO_Next_Group, Caps_Lock ] };#key <CAPS> { repeat=no, [ ISO_Next_Group, Caps_Lock ] };#' capslock


Update:



You also have to release the Caps Lock before pressing another key.



Related:
https://askubuntu.com/q/264127/20275


[#32474] Thursday, April 27, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bathtusain

Total Points: 380
Total Questions: 124
Total Answers: 111

Location: Trinidad and Tobago
Member since Sat, Apr 9, 2022
2 Years ago
;