Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Fcitx to install Chinese input method on Ubuntu

2025-04-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to use Fcitx to install Chinese input method on Ubuntu". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to use Fcitx to install Chinese input method on Ubuntu.

Install Little Penguin input method

Ctrl+Alt+T opens the terminal to install Fcitx Pinyin and five-stroke input method:

The code is as follows:

Sudo apt-get install fcitx-pinyin fcitx-table-wubi

Alt+F2 runs im-config to set Fcitx as the default input method:

Alt+F2 runs the following command to shut down iBus and start Fcitx:

The code is as follows:

Killall ibus-daemon

Fcitx-d

After installing and restarting the application, you can activate the input method with Ctrl+Space. It is best to log out of the system or restart X (lightdm service) by Ctrl+Alt+F1:

The code is as follows:

Sudo service lightdm restart

If you think fcitx-pinyin is not strong enough, you can also install fcitx-sogoupinyin.

Since fcitx-sogoupinyin is not provided by the official source, users need to download it and install it with dpkg, such as:

Http://ppa.launchpad.net/fcitx-team/nightly/ubuntu/pool/main/f/fcitx-sogoupinyin-release/

The code is as follows:

Sudo dpkg-I fcitx-sogoupinyin_0.0.1-2_amd64.deb

Besides, fcitx-sunpinyin pinyin is also good:

The code is as follows:

Sudo apt-get install fcitx-sunpinyin

However, there is a problem with sunpinyin-data from the official source. When typing yue and jiong, there is bug. You can install the latest sunpinyin-data provided by Debian at this time:

Http://mirrors.ustc.edu.cn/debian/pool/main/o/open-gram/sunpinyin-data_0.1.22+20131212-1_amd64.deb

The code is as follows:

Sudo dpkg-I sunpinyin-data_0.1.22+20131212-1_amd64.deb

When the official PPA supports 14.04, you don't need to download and install it as above, just install sogoupinyin and sunpinyin in PPA:

Https://launchpad.net/~fcitx-team/+archive/nightly

The code is as follows:

Sudo add-apt-repository ppa:fcitx-team/nightly

Sudo apt-get update

Sudo apt-get install fcitx-sogoupinyin fcitx-sunpinyin

In fact, you can also directly use Sogou Input based on Fcitx:

Http://pinyin.sogou.com/linux/

Install the sogoupinyin.deb package after installing ppa:fcitx-team/nightly.

Install Sogou Input

Step one:

Ibus. Ubuntu is installed by default. So delete it.

The code is as follows:

Sudo apt-get remove ibus

Delete and reinstall the old version of fcitx that has been installed.

The code is as follows:

Sudo apt-get remove fcitx*

Delete dependent libraries

The code is as follows:

Sudo apt-get autoremove

Detect whether to delete fcitx

The code is as follows:

Dpkg-- get-selections | grep fcitx

Step 2:

Add ppa for fcitx:

The code is as follows:

Sudo add-apt-repository ppa:fcitx-team/nightly

Then refresh the software source:

The code is as follows:

Sudo apt-get update

Step 3:

Then install Sogou Input directly.

The code is as follows:

Sudo apt-get install fcitx-sogoupinyin

Step 4:

Then install the following packages in turn (the next 17 should be required) sudo apt-get install *

Fcitx

Fcitx-bin

Fcitx-config-common

Fcitx-config-gtk

Fcitx-data

Fcitx-frontend-gtk2

Fcitx-frontend-gtk3

Fcitx-frontend-qt4

Fcitx-googlepinyin

Fcitx-libs

Fcitx-module-dbus

Fcitx-module-x11

Fcitx-modules

Fcitx-pinyin

Fcitx-table

Fcitx-table-wubi

Fcitx-ui-classic

Step 5:

Then set to fcitx as the default input method

The code is as follows:

Im-switch-s fcitx-z default

Sudo im-switch-s fcitx-z default

Step 6:

Logoff or restart will take effect

In the input method settings in the upper right corner

"input method" > Sogou Pinyin

Or set it in the configuration of the input method

The page turning of this input method is not Ann pagedown or pageup, but the plus and minus keys (actually no shift)

At this point, I believe you have a deeper understanding of "how to use Fcitx to install Chinese input method on Ubuntu". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report