From: http://zdon.org/index.php/archives/3.html
Ubuntu compilation fcitx little penguin Input Method tutorial
2010-04-24 by zdon
1. Take the fcitx-3.6.3 as an example, use the archive manager to extract the downloaded fcitx source package and store it in any directory, such :~ /Source, this will create a directory fcitx-3.6.3, all the source code is in this directory. Enter the following command in Terminal (Application-attachment-terminal) to enter the fcitx-3.6.3 directory:
cd ~/Source/fcitx-3.6.3
2. Run the following command on the terminal to install the support Library:
sudo apt-get install build-essential automake libxtst6 libxtst-dev
3. Check the fcitx compiling environment. Terminal input:
sudo apt-get build-dep fcitx
4. Run the installation and enter the following terminal:
./configure --prefix=/usr/local
If you add the parameter-Disable-tray, you can remove the fcitx System Tray Icon, but this is not necessary. After installation, you can modify whether to display the tray icon in the configuration file.
Enter:
make && sudo make install
Configure the environment and enter:
gedit ~/.bashrc
Add a line of statement: Export xmodifiers = "@ im = fcitx"
Then save and close. Log on to the current user again, click the shutdown button in the upper right corner, select switch user, and log on to the current user again.
5. Enter the following information in the terminal:
fcitx
If it succeeds, you should be able to start the fcitx little penguin input method.
6. finally, add the fcitx startup Item in "system" → "Preferences" → "Start application" and click "add (A)". The name is fcitx and the command is: fcitx-D, and then click "add ()".
So far, fcitx has been installed.