A small working example to get the default X Input Method working directly.