Ubuntu9.10 compile and install Fcitx-3.6.2 little penguin Input Method tutorial

Source: Internet
Author: User
1. Delete the ibus input method that comes with the system: Ubuntu9.10 comes with an ibus input method, but it is not as compact and easy to use as the penguin input method. We can search for "ibus" in the new software package manager and select "ibus ", right-click and select "mark to delete", and click "application" to delete the application. Ii. Install fcitx penguin Input Method: 1. download the latest fcitx source package: http://www.fcitx.org/main? Q = node/92.

1. Delete the built-in ibus input method:

Ubuntu 9.10 comes with an ibus input method, but it is not as compact and easy to use as the penguin input method. We can search for "ibus" in the new software package manager and select "ibus ", right-click and select "mark to delete", and click "application" to delete the application.

Ii. Install the fcitx little penguin input method:

1. download the latest fcitx source package: http://www.fcitx.org/main? Q = node/9

2. take the fcitx-3.6.2 as an example, use the archive manager to download the fcitx source package decompress to store any directory, such as:/tmp, this will create a directory fcitx-3.6.2, all source code is in this directory. Enter the following command in Terminal (Application-attachment-terminal) to enter the fcitx-3.6.2 directory:

D/tmp/fcitx-3.6.2

3. Run the following command on the terminal to install the support Library:

Sudo apt-get install build-essential automake libxtst6 libxtst-dev

4. Check the fcitx compiling environment. Terminal input:

Sudo apt-get build-dep fcitx

5. Grant the executable permission to "autogen. sh" and run "autogen. sh". Terminal input:

./Autogen. sh

6. Run the installation and enter the following terminal:

./Configure-prefix =/usr/local -- disable-tray

Enter:

Make & sudo make install

7. 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.

Then enter the following in the terminal:

Fcitx

If it succeeds, you should be able to start the fcitx little penguin input method. Install im-switch again and enter:

Sudo apt-get install im-switch

If the installation is complete, enter the following in the terminal again:

Sudo gedit/etc/X11/xinit/xinput. d/zh_CN

In this way, a new zh_CN file is created and the following content is added to it:

XIM = fcitx

XIM_PROGRAM =/usr/local/bin/fcitx

XIM_ARGS = ""

GTK_IM_MODULE = XIM

QT_IM_MODULE = XIM

DEPENDS = "fcitx"

Then save and close.

8. Set fcitx to the default input method:

Im-switch-s fcitx-z default

9. 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. Just restart the computer!

If the input method is garbled after the restart, you can refer to the chapter on the next two pages to complete the settings. The content can be completely copied.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.