linux - 如何在 chromebook 中从 .Desktop 文件为 linux 启动 Qt 应用程序?
问题描述
我在从 chromebook 中的 .desktop 文件启动 linux 的 Qt 应用程序时遇到了问题。谁能帮我解决这个问题。
下面我提到了我正在使用的 linux 版本:
**PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"**
我像这样创建了 .desktop 文件。如果我在创建 .desktop 文件时出错,任何人都可以纠正我
**[Desktop Entry]
Encoding=UTF-8
Version=1.0
Terminal=false
Name=XYZ
Comment=trayIconCreation
Exec= Executable with full path
Icon=Icon with full path
Type=Application**
下面我提到了我面临的问题:
当我单击桌面图标启动应用程序时,它对我不起作用。但如果我尝试通过终端启动应用程序,它工作正常。谁能指导我解决这个问题
解决方案
推荐阅读
- joomla - 在查询中使用字段值(Seblod 查询插件)
- python - 在 Python 中使用 REST 连接到 SharePoint 和读取数据时如何解决 JSON 解码器问题
- python - \Z end of line reagex count 查找不在绝对行尾的东西
- python - 在 EMR 上部署 Bokeh 服务器
- javascript - Vue.js Element-UI 和 axios 文件上传导致页面刷新
- c# - 为什么我不能在 Start() 方法之外使用 ParticleSystem.Emit()?
- r - 添加到现有数据框时为什么会得到 .index 和 .value
- r - 我在 R 中使用 h2o.predict 函数时遇到问题
- spring - 从用户密钥斗篷中取消链接社交提供者
- php - Laravel Eloquent 相当复杂的关系