ubuntu22.04踩坑笔记--mendeley安装中APPimage打不开及闪退问题

最近开始了新的学习生涯,Ubuntu重装了22.04,新版本还是跟之前有很多区别的,但是这个界面长在我审美了,说下mendeley,我最喜欢的文献管理器了(免费)。
新Mendeley Reference Manager是APPimage,需要先安装fuse,不然没办法运行。
方法参考:Ubuntu 22.04 LTS无法运行Appimage解决方法
OK,可以打开APPimage了但会发现mendeley闪退现象,解决方法可以使用命令行:

./mendeley-reference-manager-2.80.1-x86_64.AppImage --appimage-extract-and-run --no-sandbox

但是这是临时性的解决方案,总不能每次都用命令行吧(–no-sandbox是关键,为啥需要–no-sandbox其实有些没懂)。
所以就去下载了旧版Mendeley Desktop的deb,然后发现了报错:python和gconf2依赖,但其实我是有安装的(感兴趣的可以去搜下原因,跟Ubuntu版本相关):

dpkg: dependency problems prevent configuration of mendeleydesktop:
 mendeleydesktop depends on python; however:
  Package python is not installed.

找解决方案:https://askubuntu.com/questions/1405042/how-to-install-mendeley-on-ubuntu-22-04 这个问题的回答并没有解决我的问题。
于是重新回到Mendeley Reference Manager,简单粗暴的解决方法就是找到mendeley的快捷方式文件mendeley.desktop,加上–no-sandbox参数。我的在~/.local/share/applications下

[Desktop Entry]
Name=Mendeley Reference Manager
Exec=/home/xiuxiu/mendeley-reference-manager-2.92.0-x86_64_b80774f526a7966bc6c507104aabf499.AppImage --no-sandbox
Terminal=false
Type=Application

其中exec行就是打开命令,在后面添加–no-sandbox参数,再打开不会闪退了。

猜你喜欢

转载自blog.csdn.net/github_38060285/article/details/127900871