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 icon for Wayland (#440 #462) #515

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Conversation

Fdmt3ch
Copy link
Contributor

@Fdmt3ch Fdmt3ch commented Oct 31, 2023

Same issue was resolved in another app OpenShot/openshot-qt#1112

Solution to the taskbar icon, changed the value in the .desktop file to use the proper id below section [Desktop Entry]
StartupWMClass=com.github.iwalton3.jellyfin-media-player

Solution to the icon of a Wayland application window is to set the correct XDG toplevel app_id.
Added a single line to main.cpp with setDesktopFileName()
Screenshot_20231031_051259
(originally this was "org.jellyfin.<application_name>", generated by Qt using setOrganizationDomain() and setApplicationName() values).

Result
Screenshot_20231031_051756

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants