Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix app icon on linux when installing from generated jpackage file #59

Merged
merged 2 commits into from
Feb 27, 2021

Conversation

raujonas
Copy link
Collaborator

@raujonas raujonas commented Sep 10, 2020

Before: CorreoMQTT has no icon in the dock on Ubuntu 20.04 with gnome shell 3.36.4 (I think this might has always been an issue on linux?). Also if you create a shortcut for correo on the dock, the application is started as a new window because the wm_class is not matching.
grafik
Also there is not the correct application name displayed in the status bar:
grafik

Solution:

  • Added a custom .desktop entry which overrides the default one used by jpackage
  • Set correct application name in the Preloader

All windows are grouped correctly under the same icon even if it is pinned as a shortcut on the dock.
grafik
grafik

Changes tested for deb, rpm and msi packages.

@farion Could you please update the commands in the wiki to match the new ones from .travis/build.bash? I am not allowed to do this I think.

@raujonas raujonas added bug Something isn't working documentation Improvements or additions to documentation labels Sep 10, 2020
@farion farion merged commit fab6004 into EXXETA:develop Feb 27, 2021
@raujonas raujonas deleted the fix-app-icon-on-linux branch March 2, 2021 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants