Author Topic: Icon on Linux  (Read 4819 times)

joeman

  • Guest
Icon on Linux
« on: June 08, 2006, 10:24:36 am »
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

Offline Charon

  • Multiple posting newcomer
  • *
  • Posts: 49
  • fnord
    • charon - where mental illness meets chronic nonsense
Re: Icon on Linux
« Reply #1 on: June 08, 2006, 01:37:29 pm »
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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Icon on Linux
« Reply #2 on: June 08, 2006, 02:08:45 pm »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ