Using XSIM(X Simple Input Method) u can input chinese with pinyin, 
wubi and any input method added by you in X window.

WWW: https://sourceforge.net/projects/xsim/