安装过程
1. 安装google拼音输入法
sudo apt-get install fcitx-googlepinyin
2. Language 配置
点击左下方图标
搜索language,出现如下并点击
关闭该窗口,close之后重启。
右上方点击键盘小图标,并选择配置如下
其他
个人安装出现以下错误
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2043 (unattended-upgr)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
解决:
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock*
sudo dpkg --configure -a
继续报错:
E: Could not get lock /var/cache/apt/archives/lock. It is held by process 2043 (unattended-upgr)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/cache/apt/archives/
解决1:
#杀死进程
sudo kill -9 2043
解决2:
#删除锁文件
sudo rm -rf /var/cache/apt/archives/lock
以上如果都不行,重启大法。