xmodmap - where does it get default codes from?
Colin Law
clanlaw at googlemail.com
Mon May 23 07:39:30 UTC 2011
I am trying to work out where xmodmap gets it keycodes from. I have
two users, on one of those, when I do
xmodmap -pke
then I see, for the left Win key I see
keycode 133 = Super_L NoSymbol Super_L
which maps the left win key to Super_L which so that in Unity the left
win key works as Super as it should. On the other user then xmodmap
-pke shows
keycode 133 = Multi_key Multi_key Multi_key Multi_key
so the left win key does not work correctly in Unity.
I have worked around the problem by creating a .xmodmaprc file and
putting in there
keycode 133 = Super_L
and now it works correctly. I would like to know why it is wrong in
the first place however, I cannot see anything in that users setup
that would cause the issue. This was noticed after an upgrade to
11.04 and it seems that a number of others have encountered the same
problem. A fresh install of 11.04 on a different partition worked
fine.
Colin
More information about the ubuntu-users
mailing list