Electron app has a ? for its icon on Ubuntu
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- electron
- Domain
- desktop
Research direction
Start with the BrowserWindow icon code linked in the issue and compare the NativeImage and path-based versions against the packaged Electric-Pork Linux zip. Check the PNG asset and the Linux dock behavior; done means the packaged app displays its intended icon instead of a question mark in Ubuntu.
Written by the indexing model from the issue text.
Description
I want the Linux version of Electric Pork to have an icon in the dock.
Right now it's showing a question mark.
Here's what I did.
-
When the app is ready, where I create the new BrowserWindow, I added an icon value that is a NativeImage. Here's the code.
-
Here's the PNG file. I didn't know what dimensions to make it so I made it large. It occurs to me that might be the problem.
-
The app launches, but the icon in the doc isn't what it should be.
Note -- I originally just provided a path to the icon, and verified that the PNG file is at the location it was pointing to. Here's the code for that version.
Any help much appreciated. 🎈
Dave
- Dominant language
- HTML
- Stars
- 134
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from scripting/Scripting-News
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
scripting/Scripting-News#353 · 6 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
scripting/Scripting-News#332 · 25 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
scripting/Scripting-News#362 ·
-
Matt is moved aside Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
scripting/Scripting-News#361 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
scripting/Scripting-News#360 · 1 comment · 1 reaction ·
All issues in scripting/Scripting-News
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
extension extension: raycast-system-monitor feature request platform: macOS
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
raycast/extensions#31335 · 2 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AvengeMedia/DankMaterialShell#3520 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100