SyntaxBomb - Indie Coders

Languages & Coding => BlitzMax / BlitzMax NG => Topic started by: sphinx on July 09, 2019, 12:04:50 PM

Title: Change executable file icon for MacOS & Linux
Post by: sphinx 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.
Title: Re: Change executable file icon for MacOS & Linux
Post by: Qube on July 09, 2019, 01:45:23 PM
For MacOS https://freemacsoft.net/liteicon/
Title: Re: Change executable file icon for MacOS & Linux
Post by: dawlane 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 (https://www.cerberus-x.com/community/threads/install-requirements-for-linux-includes-raspbery-pi.741/).
Title: Re: Change executable file icon for MacOS & Linux
Post by: Henri 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 (https://stackoverflow.com/questions/2126545/embedding-an-icon-in-a-linux-executable)

-Henri
Title: Re: Change executable file icon for MacOS & Linux
Post by: sphinx on July 10, 2019, 06:47:27 AM
Thanks all for your replies.