-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The standard for desktop entries, including associated icons: http://standards.freedesktop.org/desktop-entry-spec/latest/ On 12/11/2011 03:57, Javier Martinez Canillas wrote: > On Sun, Dec 11, 2011 at 9:17 AM, Krzysztof <kj@xxxxxxxxxxxx> > 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, > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) iQIcBAEBAgAGBQJO5IO4AAoJEO7eCtQ2Ge2pHSkP+gMEBhUUnfX5JBwWC7biUwC4 DrTLlcEu+bB6HUivkDUp04XEICbv43C/bQlx5QwW05T7Gvdg+Zdw1QSwLwRZ+J/A t9voEnlx+hOdMm+rTWNiudB0j584oIgb4oo2zHXH7enrWW5SYOyEPBRu1fTpwA73 SZiEj1grlRsu3TrgxNNNK3NfhVBo++/+hijDoVUjOIaPVDXsYtWDEu2VYRHYHuEv zzomQCF0Kt7jiE71Qnb+BcXTFxHOfUZqipj46WdW+j34SRZo1kE2iOhnF+Uu39wL OI0uRdqWl+LJSysEXdOgSCKaEQ/DH/UCG4BcpnK2koLPBCdzyGrZ+/thrcBCE9ei +ziUvP8QqrGLP5dIWlDonfKmHnUTLkGahEWeG5PyMnt804oZhP3HqdkWAFjvWoJh iNllY3rvtwaC63ttBPV5bOxJrW0fEYWKd3e+Q7ikn0tfmu9bJjCCmZ0OMXWxakoL c70YvVs2zUMF0d4Ps4CvXts30+P4zK3trzkmJ6//dG/sBZz3oX8hCQAk5QgvcDqk RZ2LNXCvmaI3Gq1gbO6xlDrZsvMFP5/E3FsiNyTcfxO1c+0SvGs9bojDtq0/XiyO XizZV3RR9gTons45Skc99ySCb2TKRUyoS4iqQdCamY4KXPYvx4rSleNCDvK1nWWv 7oLGoS8OYR2An/FrkRDf =5FLk -----END PGP SIGNATURE----- -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html