I installed Lubuntu 13.10, and I'm observing a different behavior of xmodmap than in previous versions. I have a ~/.Xmodmap file that maps the Caps Lock key to the Ctrl key. Executing modmap ~/.Xmodmap works as expected. However, the .Xmodmap file is ignored during the login process. In another machine with Lubuntu 13.04 the .Xmodmap is read automatically during the login process.
I tried adding a line to /home/ajw/.config/lxsession/Lubuntu/autostart that call a script that set the xmodmap, but this is ignored.
According to this link, somewhere during the login process the xmodmap setting is undo by a call to setxkbmap.
Any idea about how to set xmodmap automatically in Lubuntu 13.10?