In Ubuntu, How to install Chinese Pinyin with Fcitx?
Posted 小和尚写代码
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了In Ubuntu, How to install Chinese Pinyin with Fcitx?相关的知识,希望对你有一定的参考价值。
First, We check whether we have alreadly installed Fcitx. Check Settting --> Language --> Language Suuport --> Keyboard input method system.
If not, We should install fcitx first.
Command: sudo apt-get install fcitx-bin
if encounter problems: E: Could not get lock /var/bin/dpkg/lock - open (11: Resource temporarily unavailable) E: unable to lock the administration directory (/var/lib/dpkg), is another process using it?
Then you should solve the problem like this:
1.Delete the lock file with command:
sudo rm /var/lib/apt/lists/lock
You also need to delete the lock file in the cache directory
1. sudo rm /var/chche/apt/archives/lock
2. sudo rm /var/lib/dpkg/lock
Next, Restart the system.
Chnage the keyboard input method system to fcitx and add pinyin.
以上是关于In Ubuntu, How to install Chinese Pinyin with Fcitx?的主要内容,如果未能解决你的问题,请参考以下文章