Hi,
I have some small modifications of my standard keyboard layout, for which I use
These modifications are lost when I re-connect my keyboard, which happens quite frequently since I use a Keyboard/Monitor/USB-switch gadget for multiple computers. That the keyboard modifications are lost in such a setup is a well-known limitation of
So, in order to solve this problem, I would like to automatically invoke
Best,
Holger
I have some small modifications of my standard keyboard layout, for which I use
xmodmap
in my ~/.xinitrc.These modifications are lost when I re-connect my keyboard, which happens quite frequently since I use a Keyboard/Monitor/USB-switch gadget for multiple computers. That the keyboard modifications are lost in such a setup is a well-known limitation of
xmodmap
.So, in order to solve this problem, I would like to automatically invoke
xmodmap
whenever a keyboard is connected. Is this possible, e.g. with devd
?Best,
Holger