我运行一个java程序(例如smartgit)。我在发射器上看到的只是个问号。
标记“保持在发射器”不会打开应用程序。它只是闪烁几秒钟,停止闪烁(没有应用程序启动)。
我甚至创建了一个启动文件(.desktop),但也没有工作。
我跟着这,但没有帮上忙。(在启动程序文件中定义了StartupWMClass )
似乎侧栏图标甚至没有指向启动程序文件,因为在启用终端之后,终端在从命令行运行时显示,而在从发射器运行时则不显示。
下面是启动程序文件的内容(也许这会有所帮助):
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=/home/alik/Apps/smartgit-2_1_6/bin/smartgit-48.png
Name[en_US]=SmartGit
Exec=/home/alik/Apps/smartgit-2_1_6/bin/smartgit.sh
Name=SmartGit
Icon=/home/alik/Apps/smartgit-2_1_6/bin/smartgit-48.png
#StartupWMClass=sun-awt-X11-XFramePeer
#StartupWMClass=SmartGithttps://askubuntu.com/questions/85107
复制相似问题