解决mendeley不能输入中文的情况
https://github.com/JackieMium/my_blog/issues/12
sudo make install
fcitx-qt5
接下来是 fcitx-qt5。在编译它之前要让刚刚编译好的 Qt 发挥作用,所以要改路径,我的做法也是临时export一下,只要这个终端不关都能起作用,但是要记得后面的过程都在这个终端完成。
export PATH="/opt/qt5.5.1/bin/:$PATH"
git clone https://github.com/fcitx/fcitx-qt5.git
cd fcitx-qt5
cmake .
是的,又有问题了。
CMake Error at CMakeLists.txt:8 (find_package):
Could not find a package configuration file provided by “ECM” (requested
version 1.4.0) with any of the following names:
ECMConfig.cmake
ecm-config.cmake
Add the installation prefix of “ECM” to CMAKE_PREFIX_PATH or set “ECM_DIR”
to a directory containing one of the above files. If “ECM” provides a
separate development package or SDK, be sure it has been installed.
– Configuring incomplete, errors occurred!
See also “/path/to/fcitx-qt5/CMakeFiles/CMakeOutput.log”.
Google 一下,哦,sudo apt install extra-cmake-modules 就行了。继续:
cmake .
错误又来了
– Could NOT find XKBCommon_XKBCommon (missing: XKBCommon_XKBCommon_LIBRARY XKBCommon_XKBCommon_INCLUDE_DIR)
CMake Error at /usr/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find XKBCommon (missing: XKBCommon_LIBRARIES XKBCommon) (Required
is at least version “0.5.0”)
Call Stack (most recent call first):
/usr/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
cmake/FindXKBCommon.cmake:30 (find_package_handle_standard_args)
CMakeLists.txt:33 (find_package)
– Configuring incomplete, errors occurred!
See also “/path/to/fcitx-qt5/CMakeFiles/CMakeOutput.log”.
WTF???..不要急不要急,Google 一下,哦,sudo apt install libxkbcommon-dev。继续:
cmake .
呵呵
– Found XKBCommon_XKBCommon: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found version “0.7.1”)
– Found XKBCommon: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version “0.7.1”, minimum required is “0.5.0”) found components: XKBCommon
CMake Error at CMakeLists.txt:36 (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.8) 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!
See also “/path/to/fcitx-qt5/CMakeFiles/CMakeOutput.log”.
哦,知道了,Google。哦,sudo apt install fcitx-libs-dev。好,继续:
cmake .
过了…
make -j4
手别抖不要惯性 sudo make install,不需要。
现在platforminputcontext目录下应该已经有了新鲜出炉的libfcitxplatforminputcontextplugin.so了,然后就好了:
sudo cp platforminputcontext/libfcitxplatforminputcontextplugin.so /opt/mendeleydesktop/plugins/qt/plugins/platforminputcontexts
再终端打开 Mendeley 试试 Fcitx 已经可以用了。不保险,直接鼠标点点点菜单找到 Mendeley 打开输入法还没挂,OK。
updated 27/6/209
如何生成的不管用, 就去网上下个
https://github.com/JackieMium/libfcitxplatforminputcontextplugin.so
解决mendeley不能输入中文的情况相关推荐
- linux qtcreator输入中文,linux下QtCreator无法输入中文的情况
解决linux下QtCreator无法输入中文的情况 安装了QtCreator5.3.1后无法输入中文,确切的说是无法打开输入法.以前使用iBus输入法的时候没有这个问题,现在使用sougou输入法才 ...
- 解决oninput在输入中文时,会获取拼音的问题
解决oninput在输入中文时,会获取拼音的问题 参考文章: (1)解决oninput在输入中文时,会获取拼音的问题 (2)https://www.cnblogs.com/sas1231/p/1047 ...
- docker mysql输入中文_Docker解决终端无法输入中文的问题
前言: 某日在docker里搭建了一套MySQL服务,发现在MySQL命令行内无法输入中文 中文显示也以?代替,起初以为是MySQL字符集的问题 检查之后未解决问题,又退出到容器终端 发现同样不能输入 ...
- 解决Photoshop CS3 输入中文不能显示 输入文字不能显示 输入文字显示缓慢
1.解决Photoshop CS3 输入中文不能显示 输入文字不能显示 输入文字显示缓慢 安装完PS3后,用"T"文字工具输入文字,无论是输入英文还是中文,总会显示缓慢,迟迟不能显 ...
- 解决libreoffice无法输入中文的问题
灵感来源于解决wps不能输入中文的方法,我个人认为不能输入中文的原因是libreoffice没有调用fcitx. 首先确认: 你已经安装好了fcitx和输入法,且能在浏览器或其他地方使用 编辑/usr ...
- 解决dia无法输入中文问题
解决dia无法输入中文问题 背景介绍 dia是一款小巧的基于GTK的矢量图形绘制程序,适用于Linux, Unix和Windows. 但是在使用的过程中,会遇到这样那样的问题,我就分享一个最近使用中遇 ...
- 解决linux下QtCreator无法输入中文的情况
安装了QtCreator(Qt5.3.1自带版本)后无法输入中文,确切的说是无法打开输入法.以前使用iBus输入法的时候没有这个问题,现在使用sougou输入法才有的这个问题. 可以查看此文 http ...
- ubuntu解决微信无法输入中文
1.安装deepin-wine环境 上 https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu 页面下载zip包,解压到本地文件夹,在文件夹中打开终端,输入 ...
- 解决input中输入中文过程中会触发input事件的问题
问题描述: 监听文本输入框的input事件,在拼写汉字时会触发input事件,如下图: 需求: 选词完成后触发input事件,只触发一次. 解决办法: 通过查阅资料得知在输入中文(包括语音识别时)会先 ...
最新文章
- SDCC 2016 中国软件开发者大会盛大开幕
- db,dbms,dba_DBMS中的数据库管理员(DBA)
- jrebel、JavaRebel
- 商品领域ddd_为 Gopher 打造 DDD 系列:领域模型-资源库
- Java的五子棋实现,java开发面试笔试题
- BCB屏幕截图(抓图)程序-转
- android编译单独image
- 怎样让开源项目看起来“高大上”
- MFC(6)点击按钮弹出新的对话框源码
- halcon深度学习
- 一些实用的学生向脚本(补)
- 厦大计算机类分专业,2018三跨厦大计算机经验贴
- 我以前的痛苦,你也拥有吗?
- 虚函数:多态的实现原理
- android文件下载功能实现,Android中DownloadManager实现文件下载实例详解
- pyTorch模型部署--高并发web服务c++移动端ncnn
- in the end at the end at an end用法
- Exadata 机器介绍
- 在SQL注入中对闭合符号的判断
- 机器人界面调试问题记录