1.install the ibus
sudo apt-get install ibus
2.switch struct to ibus
im-config
Click "OK" and "Yes" one by one and you have the final window.
Just elect ibus and save.
3.install ibus-sogoupinyin
sudo apt-get install ibus-googlepinyin
4.reboot
5.add GooglePinyin to ibus
System Settings -> region&Language -> Input Sources -> + > Chinese(GooglePinyin)
浙公网安备 33010602011771号