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 desktop icon #771

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

solidsnake1298
Copy link
Member

Fix desktop icon. Currently when JMP is docked/favorited and then launched it will spawn a separate icon. Setting the StartupWMClass to jellyfinmediaplayer resolves this.

Credit goes to this user on the forum.

https://forum.jellyfin.org/t-desktop-entry-icon-bug-on-linux-client

@M4dMikel
Copy link

M4dMikel commented Oct 4, 2024

Thanks for helping out and also for the credits.

Copy link

@bjornfor bjornfor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although this PR fixes the icon issue for me on NixOS with GNOME (Wayland) desktop, I don't necessarily think it alone is a proper fix. The reason is that my jellyfin-media-player instance uses xwayland, not native wayland!

To check yourself, list all xwayland clients:

$ xlsclients
bf-laptop  keepassxc
bf-laptop  gsd-xsettings
bf-laptop  jellyfinmediaplayer   <--- bug!
bf-laptop  mutter-x11-frames

So either we fix the packaging so that the app runs with native wayland protocol, or the fix must work for both X11 and Wayland. (Currently I think this PR only works for X11.)

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.

3 participants