I have Ubuntu 14.04 and after some messing around I finally managed to get the default ibus-pinyin working. However, I have no idea how that works, it doesn't seem to accept regular hanyu pinyin. I want to try out sunpinyin, and I have ibus-sunpinyin installed. However, under Text Entry Settings, I can't find sunpinyin under the input sources.
Just a short Tutorial today. It’s surprising how many people do not know this. To change the hostname under Linux, open a terminal window. Type the following code.
sudo nano /etc/hosts
and change the text to your new hostname. Changes will take effect on Restart.