正在运行与错误 .desktop 条目关联的应用程序

正在运行与错误 .desktop 条目关联的应用程序

我同时安装了 firefox(来自 apt)和 firefox-nightly(来自 zip),有两个单独的桌面条目。

但是,当我启动 Firefox Nightly 时,它与错误的启动器图标关联:

启动器图标

Firefox-nightly 有一个自定义.desktop文件,内容如下:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Exec=/opt/firefox/firefox -P clean %u
Name=Nightly
Comment=Nightly
Terminal=false
Hidden=false
MimeType=x-scheme-handler/unknown;x-scheme-handler/about;x-scheme-handler/https;x-scheme-handler/http;text/html

ubuntu 如何决定哪些应用程序正在运行以便在 dock 中显示以及我该如何修复我的.desktop条目?

答案1

修复似乎如下所述:https://bugzilla.redhat.com/show_bug.cgi?id=1585369

例如

Exec=/opt/firefox/firefox --name Nightly -P clean %u
StartupWMClass=Nightly

相关内容