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
    评论
要在Ubuntu中应用安装fcitx-googlepinyin输入法,您可以按照以下步骤进行操作: 1. 打开系统设置(System Settings)。 2. 在设置界面中,找到“Text Entry”(文本输入)选项。 3. 在文本输入选项中,点击“+”按钮以添加新的输入法。 4. 在弹出的窗口中,找到并选择“Google Pinyin”(谷歌拼音)输入法。 5. 确认选择后,关闭设置窗口。 6. 注销当前用户,并重新登录系统。 这样,您就可以在Ubuntu中使用安装fcitx-googlepinyin输入法了。请注意,如果您之前已经选择了其他输入法,您可能需要在输入法切换时使用快捷键或者任务栏图标来切换到Google Pinyin输入法。 #### 引用[.reference_title] - *1* [Ubuntu 安装fcitx-googlepinyin](https://blog.csdn.net/u010429424/article/details/48524261)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* [Ubuntu16.04安装fcitx-googlepinyin](https://blog.csdn.net/weixin_42489042/article/details/86554911)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] - *3* [Ubuntu 16.04 安装fcitx-googlepinyin](https://blog.csdn.net/Clearcell/article/details/71250652)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值