removing ~/.xinputrc and using im-config to set "default" to use /etc/default/im-config solved the problem for me
removing ~/.xinputrc and using im-config to set "default" to use /etc/default/ im-config solved the problem for me