问题描述
试图运行文件,得到报错:
There is no application installed for executable files. Do you want to search for an application to open this file?
搜索出一个叫pypar2的程序,安装后发现无效,是个图形化前端界面。
但我确信该文件理当能运行的。
解决方案
造成问题的原因是缺乏执行权限,可以通过ls -l
命令检查。解决方法是赋予权限:
打开Terminal,输入:
chmod a+x some_filepath
# e.g. chmod u+x Motrix.AppImage
# 参数u只赋予文件/目录所有者权限
参考:
https://askubuntu.com/questions/774490/what-is-an-appimage-how-do-i-install-it
https://blog.csdn.net/harry_helei/article/details/37726383