If your xmodmap settings are idempotent, then an awful yet effective
solution to this is to use inotifywait to detect additions to
/dev/input, and rerun xmodmap when this occurs.

Here's a script: https://github.com/mgsloan/mgsloan-
dotfiles/blob/5efd7becaa173f2b6500aad0cc3f3724ebe22783/env/scripts
/xmodmap-on-input-change.sh

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/287215

Title:
  xmodmap settings not getting honored when keyboard devices are
  hotplugged

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/287215/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to