Change icon of stand alone application, (AppImage)

Ubuntu 19.04 is what I'm working with. I am trying to determine the best way to change an icon for this stand alone program, https://www.balena.io/etcher/?ref=etcher_footer

I tried copying program file to the desktop, opening the properties dialog box,clicking icon, and selecting new one. The icon changes in the properties dialog box, but not on the actual program file.

The permisions tab in properties shows that the file is owned by "root", and in the group "root". Then I tried opening nautilus as root, and changing "user" and "group" in properties/permissions. Still no change.

It's probably something simple, but I'm just spinning my wheels here. Any help would be great.

@Jim Using info on this site, https://itsfoss.com/use-appimage-linux/ I was able to integrate the appimage into Applications menu, though there still remained the problem of changing is icon, after installing .deb files from gitHub repository you posted your solution worked.

Apparently the AppImage icon issue has been going on for some time. https://github.com/AppImage/AppImageKit/issues/346


This is assuming you installed etcher from their repository or .deb files.

  1. Open up terminal
  2. Navigate to Ubuntu's application global dir.

    cd /usr/share/applications
    
  3. Edit the Etcher's desktop entry.

    sudo gedit balena-etcher-electron.desktop
    
  4. Change Icon= value to your image file location. Mine was in ~/Downloads folder so put it like this.

    [Desktop Entry]
    Name=balenaEtcher
    Comment=Flash OS images to SD cards and USB drives, safely and easily.
    Exec="/opt/balenaEtcher/balena-etcher-electron" %U
    Terminal=false
    Type=Application
    Icon=/home/user/Downloads/GitLab_Logo.svg.png
    StartupWMClass=balenaEtcher
    Categories=Utility;
    
  5. Save and exit to apply changes.

  6. Run sudo updatedb to update database.
  7. The icon will changes then.

From

enter image description here

To

enter image description here