These commands fix the keyboard mapping for me. Please swap the -layout for your keyboard.
setxkbmap -model evdev -layout us killall metacity
These commands fix the keyboard mapping for me. Please swap the -layout for your keyboard.
setxkbmap -model evdev -layout us
killall metacity