Mendeley can't use fcitx

使用Mendeley时发现无法使用fcitx输入法,原因是Mendeley使用了自己的Qt5的库,但没有提供fcitx的qt插件(ibus有)。参考yinflying的博客自己修改了Mendeley的debain包。

修改的debain包的地方有:

  • 将lib/qt 下的库替换成了从官网下的Qt5.8的库
  • 增加了依赖:fcitx-fronted-qt5
  • 将/usr/lib/x86_64-linux-gnu/qt5/platforminputcontexts/目录下的libfcitxplatforminputcontextplugin.so 链接到了mendeleydesktop/plugins/qt/plugins/platforminputcontexts 下

附件:修改过后的debain包
PS: 如果安装完仍不能使用fcitx,先试着重启一下fcitx,因为可能新安装了fcitx-fronted-qt5,fcitx并没有加载该模块。