从命令行执行此操作:

从命令行执行此操作:

我最近安装了一个游戏,在游戏文件夹中,有一个扩展名为 的文件x86_64。我尝试打开该文件并收到此错误:

Could not display KSP.x86_64
There is no application installed for executable files. Do you want to search for an application to open this file?

之后,我尝试右键单击该文件并选择“使用其他应用程序打开”,然后出现此错误消息。

No applications available to open KSP.x86_64.
Click Show other application for more options, or find applications online to install new applications.

我点击了“在线查找应用程序”几秒钟后出现以下错误消息。

GDBus.Error:org.freedesktop.DBus.Python.xdg.Exceptions.ParsingError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/defer/__init__.py", line 489, in _inline_callbacks
    result = gen.send(result)
  File "/usr/lib/python2.7/dist-packages/sessioninstaller/core.py", line 1030, in _install_mime_types
    path))
  File "/usr/lib/python2.7/dist-packages/xdg/DesktopEntry.py", line 33, in __init__
    self.parse(filename)
  File "/usr/lib/python2.7/dist-packages/xdg/DesktopEntry.py", line 42, in parse
    IniFile.parse(self, file, ["Desktop Entry", "KDE Desktop Entry"])
  File "/usr/lib/python2.7/dist-packages/xdg/IniFile.py", line 81, in parse
    raise ParsingError("Invalid line: " + line, filename)
ParsingError: ParsingError in file '/usr/share/app-install/desktop/workrave:workrave.desktop', Invalid line: - RSI (Repetitive Strain Injury) oraz wspomaga rekonwalescencj\u0119

如何.x86_64在Ubuntu 13.04中打开?

答案1

你需要将文件标记为可执行文件然后您可以双击它并选择“在终端中运行”。

如何将文件标记为可执行文件

  1. 右键单击文件
  2. 选择“属性”
  3. 转到“权限”标签
  4. 勾选“允许将此文件作为程序执行”
  5. 关闭对话框。

答案2

您可以右键单击该文件,单击权限,然后选中“允许将文件作为程序执行”,或者您可以打开终端并输入./KSP.x86_64(请注意前面的./)。

答案3

从命令行执行此操作:

授予文件执行权限:

chmod +x /path/to/the/file.x86

进入文件目录:

cd /path/to/the

运行文件:

./file.x86

相关内容