You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在浏览器Ubuntu环境中启动GZDoom时遭遇无效桌面项文件错误的求助

在浏览器Ubuntu环境中启动GZDoom时遭遇无效桌面项文件错误的求助

我现在在浏览器里运行Ubuntu(基于Chromebook-VM项目),为了安装deb包特意装了gdebi,但每次尝试启动GZDoom都会遇到错误:

invalid desktop entry file: '/usr/share/application/gzdoom.desktop'

我试过用ZDL来启动Doom,结果也因为这个错误无法正常运行。

我查了相关文件的情况:

  • 运行命令 ls -la /usr/share/applications/gzdoom.desktop,输出如下:

    -rw-r--r-- 1 root root 170 nov 8 2014 /usr/share/applications/gzdoom.desktop

  • 运行命令 cat /usr/share/applications/GZDoom.desktop(注意文件名是大写开头),文件内容为:
    [Desktop Entry]Version=1.0
    Type=Application
    Name=GZDoom
    Comment=Advanced Doom Source Port
    Exec=gzdoom
    Icon=/usr/share/pixmaps/gzdoom.png
    Terminal=false
    Categories=Game
    

另外我已经把wad文件放到了~/.config/gzdoom/目录,不管是直接运行gzdoom命令,还是用ZDL启动wad文件,都会触发这个无效桌面项文件的错误,完全没法启动游戏。有没有大佬能帮忙看看怎么解决这个问题?

备注:内容来源于stack exchange,提问作者TheCheese2267

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 13:20:30