News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Icon on Linux

Started by joeman, June 08, 2006, 10:24:36 AM

Previous topic - Next topic

joeman

Hello All
Just wondering how to add an icon to the executable when compiled on Linux ?
I'm using wxwidgets 2.6.3, when compiling on windows the icon is placed in the ressource file RC, this works fine, but how to setup the icon when compiling on Linux (fedora core 5)
Thanks
J

Charon

as long as i know its not possible to add an icon to an executable on linux.
and no there are no ressource-files either.

provide an *.xpm (or *.png, or *.svg) and a *.desktop file and you should be fine.


regards
Charon
hi, i am a signature virus. please copy me into your sig!
Wish list : no root-node for workspaces, open files and symbols; world domination

MortenMacFly

Quote from: joeman on June 08, 2006, 10:24:36 AM
Just wondering how to add an icon to the executable when compiled on Linux ?
This forum is related to C::B issues, not wxWidgets issues. Allthough you could simply have a look how it's done in C::B please don't ask non C::B related questions in the C::B forum. You will most likely get an execellent answer in wxWidgets related forums, e.g. http://wxforum.shadonet.com/.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]