ubuntu20.04系统下mendeley无法输入中文的解决方法

mendeley linux下载链接:https://www.mendeley.com/download-mendeley-desktop-legacy/linux,我下载的是Download for Ubuntu and Kubuntu 16.04 LTS, 17.04 and Debian Stretch 9这一版本,其64位安装文件的链接在此

mendeley无法输入中文(搜狗输入法)的原因在于mendeley安装包中不包含支持fcitx输入的插件,需要将适合的libfcitxplatforminputcontextplugin.so文件放入mendeley的安装目录中。

对于ubuntu的19之前的版本,和ubuntu20之后的版本,解决方法略有不同。

ubuntu 19及之前

直接将系统目录下的原有插件复制到mendeley插件目录下

sudo cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so /opt/mendeleydesktop/plugins/qt/plugins/platforminputcontexts/

ubuntu 20及之后

需要下载这个链接中的libfcitxplatforminputcontextplugin.so.for.MendeleyDesktop文件,将其改名为libfcitxplatforminputcontextplugin.so,并复制到mendeley插件目录下(/opt/mendeleydesktop/plugins/qt/plugins/platforminputcontexts/)。

参考博客:https://www.cnblogs.com/ArrowKeys/p/13252299.html

猜你喜欢

转载自blog.csdn.net/lj164567487/article/details/123793291
今日推荐