Introduction

本文介绍了快捷修复mendeley Linux下无法输入中文的问题解决方案。

问题描述

Mendeley是一款协助学术研究的工具,可以作为自己的论文阅读库,方便整理读过的论文,同时它自带的阅读标注工具也还算好用。

但是在Linux下,Fcitx输入法框架支持的搜狗输入法则无法输入中文标注。

查阅是由于mendeley使用的qt库没有添加fcitx的输入法支持库。

解决方案

这里仅说明最简单的利用别人编译好的库的方法。如果下面没有自己的系统,则参考reference里自己编译即可。

下载

Arch

下载 https://github.com/yinflying/BlogSource/raw/master/lib-fcitx-plugin/arch-qt5.5.1/libfcitxplatforminputcontextplugin.so

Debian 9

https://github.com/yinflying/BlogSource/raw/master/lib-fcitx-plugin/debian.sid.201701223/libfcitxplatforminputcontextplugin.so.for.MendeleyDesktop

Ubuntu

用命令locate libfcitxplatforminputcontextplugin.so找到系统中的libfcitxplatforminputcontextplugin.so。(一般是/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so

拷贝

重命名为libfcitxplatforminputcontextplugin.so,然后拷贝到mendeley安装位置,debian和ubuntu为:

/opt/mendeleydesktop/plugins/qt/plugins/platforminputcontexts/

Arch为:

/opt/mendeleydesktop/lib/mendeleydesktop/plugins/platforminputcontexts/

重新启动mendeley即可发现中文可以输入了。

Reference

Mendeley Fcitx Problem

解决 Mendeley 和 RStudio 无法输入中文的问题简单记录-debiancn

请问menddeley作笔记时能否用中文输入法? (我系统是ubuntu12.04,mendeley版本是1.12.1 知乎


文章版权归 FindHao 所有丨本站默认采用CC-BY-NC-SA 4.0协议进行授权|
转载必须包含本声明,并以超链接形式注明作者 FindHao 和本文原始地址:
https://findhao.net/easycoding/2287.html

Comments