Can someone suggest how to fix this properly? I'm happy spend the time
understanding some code and sending a patch.

My reproduction:
- my ~/.xprofile has the following line which turns caps into a Control_L key: 
`xmodmap ~/.Xmodmap`[1]
- I have a bluetooth keyboard for my 14.04LTS ubuntu machine
- when I walk away from the machine, I turn off my keyboard (to preserve 
battery/charge)
- when I come back and unlock my screen, my config is reset (ignoring my 
previous `xmodmap` calls)

Also, wow(!), the 7th anniversary of this bug is coming up :)

[1]:
https://github.com/jzacsh/dotfiles/blob/411572a68ead36ab240bad9e6a550188f19023d1/.config/xmodmaprc#L15-L17

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in 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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to