Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
App-icon missing on linux #86
Same is happening to me, using latest (1.0.64) AppImage. The application icon is shown in the picture below:
This is the application icon when I search for it:
I am using:
May be related to #251 or be linux-specific
Firstly, thank you for an amazing project.
You may be able to resolve this by calling "QApplication::setWindowIcon()" in Joplin.
You can see a write-up for a similar issue for another application here: https://discourse.appimage.org/t/appimage-does-not-show-icon-in-task-bar/40
There is also another approach that seems to work:
electron-userland/electron-builder#2269 (see the last post)
Hopefully either of these approaches provide a reasonably straight forward fix for the Linux icon issue.
Thanks again for the wonderful work.
@StefanTT This worked as a workaround for me.
Is there any chance that this happens due to some kind of config conflict on Gnome-Shell? My version is
I wonder if with the new Ubuntu 18.04 LTS coming next month this will still happen. May be Gnome-Shell related.
If I look at the generated .desktop entry and what xprop for the Joplin window outputs then I have no good idea how the window manager should get the icon for the application.
A quick test with TeamViewer - one of the apps I have installed that did not come with the distribution - showed that they do not set StartupWMClass in the desktop entry but set the window property WM_ICON_NAME.
So either the setWindowIcon() that @blueorignal suggested or my workaround should be done. I doubt that other desktop environments currently find the correct icon.