문제

I have the following desktop file

[Desktop Entry]
Name=My Game
Exec=/usr/games/mygame %U
Icon=mygame
Terminal=false
Type=Application
Categories=Game;

Comment=Start my game
Comment[de_DE]=Starte mein Spiel

and the entry is shown perfectly in Ubuntu (13.04) Unity Dash.

When mygame is executed, it spawns a detached process again and I get a Unity Launcher entry with a question mark and Untitled window.

Is there a way to tell Unity, where the (detached) process originated or which desktop file to assign to the process?

도움이 되었습니까?

해결책 2

Workaround was to set the X11 property _NET_WM_ICON on the detached process.

다른 팁

Try to use the absolute path for your Icon file. This might help otherwise it could be a bug in the bamf.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top