Re: program icon
Javier Martinez Canillas <[email protected]> Sun, 11 Dec 2011 09:57:49 +0100
| Newsgroups | org.kernel.vger.linux-c-programming |
|---|---|
| Message-ID | <CAAwP0s31Ccx=jhmq3Y0NQehHA5gHOh5WAbdRNdOHfSRedbON4Q@mail.gmail.com> |
On Sun, Dec 11, 2011 at 9:17 AM, Krzysztof <[email protected]> wrote: > How to set the program icon to be showed e.g. on GUI desktop? > > -- > Regards > Krzysztof J. > > Not sure if I understand your question, but if what you want is to have an application launcher with an icon in your desktop. You have to create an .desktop file an copy it to ~/Desktop/. For example app.desktop could be: #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Exec=/usr/local/myapp/bin/myapp Name=MyApp Icon=//usr/local/myapp/img.png Hope it helps, -- Javier MartÃnez Canillas (+34) 682 39 81 69 Barcelona, Spain -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html