Xfce: Apply keyboard settings on USB plug
I'm using the Xfce desktop environment on Debian jessie. The keyboard
is plugged into a KVM switch which issues a USB disconnect if I switch
to another machine. Once I switch back, the USB connection comes back
again, but the keyboard settings are gone. This affects both the
changes in keyboard repeat/delay I configured within Xfce, and the
modmap I set with Xmodmap on session start.
Is there are simple solution to restore the keyboard settings, one
which is less hackish than watching for USB-related messages in dmesg?
Reply to: