ive been using pidgin on my n9 for like years... requires a btkb, but what with your magical unicorn pony, that wont be a problem
export GTK_IM_MODULE=xim export XMODIFIERS="@im=xmim"