in reply to Re^2: PerlTk GNOME3 alternate icon file shown as blank square
in thread PerlTk GNOME3 alternate icon file shown as blank square

Very probably this is a subsequential error. Do you get the same error when you try choroba's code unedited as a standalone script?
  • Comment on Re^3: PerlTk GNOME3 alternate icon file shown as blank square

Replies are listed 'Best First'.
Re^4: PerlTk GNOME3 alternate icon file shown as blank square
by kaza_perl_ip (Acolyte) on Dec 22, 2024 at 16:43 UTC
    OK, when I copy the code in its entirety it runs without errors but produces the same blank gray sqare as an icon. I'll start looking what did I not copy correctly but meanwhile the original problem remains: as if the graphical subsystem "overrides" the icon given by the program. Any ideas? TIA!
      I performed another experiment: I copied the PerlTk script from our work environment (EL8+GNOME3) to my home PC (Fedora 41 + KDE). After installing some needed Perl modules and bringing the icon JPG file and fixing the path of the icon file the script started running and the icon was correct. So it seems the problem wasn't with the script buy with the graphic environment of the OS. And how to debug this - I have no idea...