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.

[Linux package] Icon's path is "0x0" (electron-builder issue?)

See original GitHub issue
SUMMARY

In the prebuilt Linux .deb package by EDRLab, the icon’s path is “0x0”: /usr/share/icons/hicolor/0x0/apps/thorium.png

The path is probably invalid as KDE’s application launcher won’t show the icon. The path should have been “1024x1024”.

From this electron-builder document:

Linux icon set will be generated automatically based on the macOS icns file or common icon.png. Or you can put them into the build/icons directory if you want to specify them yourself. The filename must contain the size (e.g. 256x256.png) of the icon. Recommended sizes: 16, 32, 48, 64, 128, 256 (or just 512).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
elcstecommented, Aug 31, 2022

The icon appears properly now in Ubuntu 22.04 with the latest dev version deb package.

0reactions
danielweckcommented, Aug 31, 2022

Thank you for confirming so quickly, @elcste 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Icon Size Recognized as 0x0 on Linux · Issue #5294 - GitHub
The build was started on Ubuntu 22.04 in a Hyper-V. The issue was that I have accidentally started the build in the wrong...
Read more >
Cordova Electron Builder Icon Packaged Wrong on Linux
The issue seems to be caused by this line of code in App Builder, so for now the solution must be to clone...
Read more >
electron build on linux fails to create an rpm package ...
Using Electron and ElectronNet I have an azure devops pipeline setup that will build the application on linux, windows and osx ...
Read more >
Anytype Appimage integration missing icon - Bug Reports
Describe the bug When using AppImageLauncher to integrate the Anytype Appimage, no icon image is present in the application menu shortcut.
Read more >
edrlab - Bountysource
Icon advanced search ... https://github.com/readium/readium-desktop/issues/326 ... [Linux package] Icon's path is "0x0" (electron-builder issue?) $ 0.
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