program icon
How to set the program icon to be showed e.g. on GUI desktop?
Signature · 2 lines
Regards Krzysztof J.
Quoted 7 lines · Krzysztof
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,
Signature · 7 lines
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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The standard for desktop entries, including associated icons:
http://standards.freedesktop.org/desktop-entry-spec/latest/
Quoted 13 lines · Javier Martinez Canillas
Quoted 5 lines · Krzysztof
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:
Quoted 8 lines
#!/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-----
Quoted 9 lines · Javier Martinez Canillas
Quoted 7 lines · Krzysztof
How to set the program icon to be showed e.g. on GUI desktop?
--
Regards
Krzysztof J.Not sure if I understand your question,
Is it possible to set it at compilation/linking stage?
Signature · 2 lines
Regards Krzysztof J.
So you want it like windows linker?
(embedding as a resource icon)
Quoted 22 lines · Krzysztof
Quoted 11 lines · Javier Martinez Canillas
Quoted 8 lines · Krzysztof
How to set the program icon to be showed e.g. on GUI desktop?
--
Regards
Krzysztof J.Not sure if I understand your question,
Is it possible to set it at compilation/linking stage?
--
Regards
Krzysztof J.
Quoted 4 lines
--
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
--
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
Quoted 4 lines · Aniruddha Bhattacharyya
So you want it like windows linker?
(embedding as a resource icon)
That's exactly what I asked - embedded resource.
Signature · 2 lines
Regards Krzysztof J.