Ubuntu安装fcitx-googlepingyin

不小心吧kylin自带的小企鹅弄坏了,终端输入fcitx提示与ibus的守护进程冲突,kill掉ibus的进程重启x-windows依然无法使用,无奈,卸载fcitx从新安装

之后安装fctix-googlepinyin又折腾许久,记录如下:


起初尝试下载源文件手动编译安装:

源文件地址:http://download.fcitx-im.org/


安装说明:

INSTALL:

To compile and install, go in the source directory and type:
mkdir build; cd build
cmake ..
(If you want to install in a different path, use instead:
cmake .. -DCMAKE_INSTALL_PREFIX=/install/path)
make

To install, become root if required:

make install

Once installed, you can restart fcitx and it will be enabled by default.

错误:

leo@leo-pc:~/fcitx-googlepinyin-0.1.6/build$ cmake ..
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Gettext: /usr/bin/msgmerge (found version "0.18.1")
CMake Error at CMakeLists.txt:6 (FIND_PACKAGE):
  By not providing "FindFcitx.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Fcitx", but
  CMake did not find one.

  Could not find a package configuration file provided by "Fcitx" (requested
  version 4.2.0) with any of the following names:

    FcitxConfig.cmake
    fcitx-config.cmake

  Add the installation prefix of "Fcitx" to CMAKE_PREFIX_PATH or set
  "Fcitx_DIR" to a directory containing one of the above files.  If "Fcitx"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!


错误高不定,直接使用包安装:

sudo add-apt-repository ppa:fcitx-team/nightly
sudo apt-get update
sudo apt-get install fcitx fcitx-googlepinyin

sudo apt-get install fcitx fcitx-cloudpinyin    //提示找不到源


google拼音先将就用了,有成功安装云拼音的请赐教。。。


补充:

fcitx与ibus冲突的解决办法

卸载ibus:

  1. killall ibus-daemon
  2. sudo apt-get purge ibus ibus-gtk ibus-gtk3 ibus-pinyin* ibus-sunpinyin ibus-table python-ibus
  3. rm -rf ~/.config/ibus
把fcitx也卸载了
  1. sudo apt-get remove fcitx
重新安装fcitx:
  1. sudo apt-get install fcitx fcitx-googlepinyin
重启即可

因为卸载ibus会导致系统设置残缺,需要恢复系统设置

sudo apt-get install ubuntu-desktop

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值