Keymapping of Caps Lock lost if keyboard is unplugged and replugged
bw-matthew opened this issue · comments
The keymapping is applied by a function which is invoked when a terminal is created. If the keyboard is plugged in after creating terminals then the change does not take effect. A more permanent way of remapping the keyboard should be used.
Using an xmodmaprc file may well provide such a solution. See https://github.com/roobert/dotfiles/blob/master/.xmodmaprc for an example.
A fix for this has been submitted for https://github.com/matthewfranglen/dotfiles/releases/tag/0.1.156
The fix does not improve things. The xmodmaprc file must still be manually applied. I am retaining the old behaviour.
If there are any suggestions for how to handle this issue then they will be gratefully received.