I got this error as well, but I kept messing with my script that changes the key modifiers and it seems to work for me now. The script is attached in the hopes that it may help someone else until this is resolved/better understood.
** Attachment added: "remap-keys" http://launchpadlibrarian.net/50523539/remap-keys -- xmodmap failure BadValue error, 118 (X_SetModifierMapping) https://bugs.launchpad.net/bugs/524774 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in ubuntu. _______________________________________________ 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