Archive for November, 2008

I work remotely a lot. So NX client is my best friend. It is fast, even under crappy Internet connection in a coffee shop.

But occasionally I need to input Chinese. I installed SCIM on my home machine, and it works beautifully when I work locally. However, it didn’t work when I use NX client to remote-desktop back to my home machine. After some research, I found I had to put following lines in my .bashrc file to make it work:

export LC_CTYPE="zh_CN"
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim

After this, everything worked beautifully again.