Unable to add icon image in ubuntu

20 views
Skip to first unread message

CHARITRA JAIN

unread,
Mar 2, 2020, 10:00:37 AM3/2/20
to PyInstaller
I have tried everything to add icon to my ubuntu executable python file but I am unable to do so. Please suggest me correct way.
I have used following command but nothing is working.
pyinstaller --onefile --icon="path to icon" pythonfile.py.
pyinstaller --onefile --icon path to icon pythonfile.py.
pyinstaller --onefile --i "path to icon" pythonfile.py.

Hartmut Goebel

unread,
Mar 5, 2020, 3:17:23 AM3/5/20
to pyins...@googlegroups.com
Am 02.03.20 um 14:31 schrieb CHARITRA JAIN:
Please read the doc: --icon is only for windows and osx.

--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Blog: https://www.goe-con.de/blog/bin-offiziell-entdecker-einer-sicherheitslucke
Kolumne: https://www.goe-con.de/hartmut-goebel/cissp-gefluester/2010-09-mut-zur-beschraenkung

0x7B752811BF773B65.asc

CHARITRA JAIN

unread,
Mar 8, 2020, 1:17:07 PM3/8/20
to pyins...@googlegroups.com
Hello,

Is there any possible way to add the icon to the ubuntu application using pyinstaller.


Regards,
Charitra

--
You received this message because you are subscribed to a topic in the Google Groups "PyInstaller" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pyinstaller/JrvNxgiIQBo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/ce591ee6-388e-69ec-4d3d-36c22a1c85f7%40goebel-consult.de.

Hartmut Goebel

unread,
Mar 8, 2020, 1:18:51 PM3/8/20
to pyins...@googlegroups.com
Am 08.03.20 um 17:59 schrieb CHARITRA JAIN:
Is there any possible way to add the icon to the ubuntu application using pyinstaller.

No, since Linus does not support icons in applications.

--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software Development

Goebel Consult, Landshut
http://www.goebel-consult.de

0x7B752811BF773B65.asc
Reply all
Reply to author
Forward
0 new messages