Fix broken app icon on debian dock#33635
Conversation
|
This seems likely to also fix #33472 |
| // By default, electron builder will set this to variant.productName. | ||
| // But electron builder also sets the WM_CLASS of the window to variant.name. | ||
| // This difference will cause the app to launch with no icon and sometimes | ||
| // prevents app grouping in the taskbar. |
There was a problem hiding this comment.
Is there an upstream issue? That sounds like a bug
There was a problem hiding this comment.
An issue was created (electron-userland/electron-builder#4974) but it doesn't look like it received any attention.
There was a problem hiding this comment.
might be worth including that link in the comment for future devs
There was a problem hiding this comment.
More recent: electron-userland/electron-builder#9103
There was a problem hiding this comment.
hmm.. looks like that issue also provides a different solution for this i.e the app-id is element-nightly but the desktop file is named element-desktop-nightly.desktop. If i rename the desktop file to element-nightly.desktop, the icon issue is fixed.
There was a problem hiding this comment.
might be a bit odd to install element-desktop-nightly and then the desktop file is called something else
There was a problem hiding this comment.
But the point it raises re Wayland is one that this PR does not solve
Closes #33472
On my debian 13 dock:

I can get it to work if I manually edit the desktop file so that
StartupWMClassiselement-desktop-nightly.