问题
Is there a way to retrieve application launcher icon.
I tried xprop _NET_WM_ICON
command but it returns with
_NET_WM_ICON: Not found error.
But I can see the icon in System Tray(Launcher).
How can we retrieve that icon. Any other method ?
回答1:
In Ubuntu/Unity it's defined in application .desktop file, not _NET_WM_ICON. See my related answer and desktop file specification
You can associate your window with desktop file by setting _NET_WM_DESKTOP_FILE property
来源:https://stackoverflow.com/questions/33007528/retrieve-ubuntu-launcher-icon