解决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事件,只触发一次. 解决办法: 通过查阅资料得知在输入中文(包括语音识别时)会先 ...
最新文章
- 扶梯正确使用_乘坐自动扶梯解释CSS浮动
- Ubuntu增加(swap)交换分区
- 宣布 Windows Azure 通过 PCI DSS 合规性验证并且 ISO 认证范围扩大,同时正式发布 Windows Azure Hyper-V 恢复管理器和其他更新功能...
- mysql数据库优化面试
- 小猴吃桃matlab,看图写话:小猴吃桃精彩选篇
- 学习Lucene.Net 2.1常用的一些网址
- 剑指Offer之逆序对问题
- uni-ap开发开发小程序 怎么使用阿里云播放器
- 你的计算机无法启动一键还原,电脑一开机就进入dos之家的一键还原硬盘版,无法进入系统...
- 计算机关机键是,电脑关机快捷键是什么
- 名士高罗佩:谁把狄仁杰推上了世界舞台?作家金满楼新浪博客
- Facebook的原罪与区块链的救赎
- Win10下配置PHP环境变量
- RocketMQ Message相关命令【实战笔记】
- 小码哥php教程,小码哥Java从0到高级工程师
- 夜晚怎么能不吃宵夜呢
- 儿子作恶,母亲受报应
- Excel批注教学:一键给多个单元格添加相同批注
- 顶点着色器和片段着色器的区别
- iOS模仿安卓Material Design的涟漪动画按钮