question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No icon on executable on linux

See original GitHub issue
  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:

I dont have icon on the executable for linux (ubuntu), the icon on the left dock is ok though.

Here the command im using, icon.png is present in assets/build/png/icon.png

electron-packager . chain-wallet --overwrite --asar --platform=linux --arch=x64 --icon=assets/build/png/icon.png --prune=true --out=release-builds

https://imgur.com/EAz6ax8

Im missing something ? Icons working well on windows.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
maleptcommented, Jan 21, 2019

Per the icon docs, make sure your icon for macOS is in ICNS format. It’s important to note that macOS has an app icon cache, so during development it may not show up until that cache evicts the entry for your app. (Use StackOverflow or similar to find out how to clear that cache.)

0reactions
karimmortacommented, Sep 27, 2019

Hi @malept, I think it’s important to add that note about macOS app icon cache, I’ve been trying to build with the icon for a few hours with no success, until I found this 😃

Then used :

sudo rm -rfv /Library/Caches/com.apple.iconservices.store; sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; ; sleep 3;sudo touch /Applications/* ; killall Dock; killall Finder

Then built the app again and this time I had the custom icon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

executable icon is missing for Ubuntu 18.04 - gnome
I tried compiled with -no-pie (only one dash in the front) and it solves it. Do you know whether there's any downside for...
Read more >
Embedding an icon in a Linux executable - Stack Overflow
Executables on Linux do not have icons embedded (try to point your file manager to /usr/bin ). What you have seen is probably...
Read more >
How to Extract Icons from Executable File in Linux
A program's icons can be found inside their package source files (not in the executable binary). Icons for programs that have been installed ......
Read more >
Windows not showing executable icons after installing app in ...
It was my understanding that installing an application in your Linux kernel on WSL2 gives you an icon. Steps I have taken on...
Read more >
Why does Windows 10 incorrectly report that "The file example ...
lnk files with a missing icon and go to Properties > Change Icon, I am told "The file example.exe contains no icons". This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found