Hello,
I would like to change the standard icon of my go executable on Linux/GNOME.
Thank you in advance for helping.
Hello,
I would like to change the standard icon of my go executable on Linux/GNOME.
Thank you in advance for helping.
Hello there. You can check out this discussion here. Linux has a very specific way to change the icon of the binary, so I guess there is no easy way to just embed it into the building process and you will need to do it on your own.
Thank you for the hint!
I do not want to install a whole development environment (e.g. https://wails.io/).
I would prefer just to compile a icon into the linux app as it seems to be possible with windows/mac…
That issue was in the wails repo but the advice was generic to Linux. Check this out:
The XDG Desktop Entry specification defines a standard for applications to integrate into application menus of desktop environments implementing the XDG Desktop Menu specification.
Anyway, I’m not an expert on this (because it’s more of a Linux dev question), but, it seems like you would need some sort of installer which would put your binary in /usr/bin
or wherever and install a .desktop
file with an icon. Here’s another Reddit post that might be of use:
Thank you for the hint!
In my use case it is too complicated…