How do I add an icon to an executable file [duplicate]

  • Create a "Application_name.desktop" file using gedit or any other text editor with contents

    [Desktop Entry]
    Name=Application name
    Exec=path-to-executable
    Icon=path-to-icon
    Terminal=false
    Type=Application

  • put it in ~/.local/share/applications

  • For complete documentation checkout https://help.ubuntu.com/community/UnityLaunchersAndDesktopFiles


Follow steps here
Your question is disscused in this thread. Check the answer ! https://askubuntu.com/a/450847/270059