码迷,mamicode.com
首页 > 系统相关 > 详细

In Ubuntu, How to install Chinese Pinyin with Fcitx?

时间:2018-10-17 14:42:37      阅读:429      评论:0      收藏:0      [点我收藏+]

标签:tor   dpkg   whether   boa   first   method   lists   restart   lan   

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?

标签:tor   dpkg   whether   boa   first   method   lists   restart   lan   

原文地址:https://www.cnblogs.com/confessionlouis/p/9803123.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!