I run the following command to switch my caps-lock to escape:
xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'

However, if I disconnect and reconnect my keyboard (I have a KVM switch
box so this happens quite a lot) the setting is lost.

Before I start writing udev rules to auto reapply this setting when the
keyboard is (re)attached, is there some other, better, way to make this
setting stick?

Tim.


Reply via email to