July 21, 2019, 10:50:13 AM

Author Topic: Change executable file icon for MacOS & Linux  (Read 111 times)

Offline sphinx

  • Full Member
  • ***
  • Posts: 206
    • Ancientsoft
Change executable file icon for MacOS & Linux
« on: July 09, 2019, 12:04:50 PM »
I am aware of how to do it in Windows but no idea for MacOS and Linux!

Help appreciated.
Kind regards,
Maher F. Farag
www.ancientsoft.com
www.osakit.com

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 1961
Re: Change executable file icon for MacOS & Linux
« Reply #1 on: July 09, 2019, 01:45:23 PM »
Until the next time...

Online dawlane

  • Jr. Member
  • **
  • Posts: 98
Re: Change executable file icon for MacOS & Linux
« Reply #2 on: July 09, 2019, 02:28:19 PM »
Linux does not support icons embedded into the executable and are only supported indirectly by Linux distributions that support the freedesktop specifications.
Basically you place your images in one of the standard location set aside for pixmaps/icon and create a launcher/desktop entry file in another standard location set aside.

Instead of me going through the whole process here, just see the section on one way to do it from here.

Offline Henri

  • Full Member
  • ***
  • Posts: 206
Re: Change executable file icon for MacOS & Linux
« Reply #3 on: July 09, 2019, 02:40:50 PM »
Hi,

as I understand it, the launcher is basically a text file describing the application (like Windows manifesto), presuming the launcher is the same as Desktop Entry File.

https://stackoverflow.com/questions/2126545/embedding-an-icon-in-a-linux-executable

-Henri
- Got 01100011 problems, but the bit ain't 00000001

Offline sphinx

  • Full Member
  • ***
  • Posts: 206
    • Ancientsoft
Re: Change executable file icon for MacOS & Linux
« Reply #4 on: July 10, 2019, 06:47:27 AM »
Thanks all for your replies.
Kind regards,
Maher F. Farag
www.ancientsoft.com
www.osakit.com