Comment 41 for bug 287215

Revision history for this message
jzacsh (jzacsh) wrote :

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