Skip to content

double linux media player desktop icon #986

@dimdin

Description

@dimdin

Description of the bug

After installing jellyfin-media-player_1.12.0-trixie.deb in debian trixie, I am launching the application using the included .desktop entry and two icons are displayed for the application.
There is a mismatch between the application WM_CLASS and the specified class in the /usr/share/applications/com.github.iwalton3.jellyfin-media-player.desktop included in the .deb package.

Reproduction steps

  1. Using trixie debian gnome desktop
  2. Install jellyfin-media-player_1.12.0-trixie.deb
  3. Pin the Jellyfin Media Player in the dock
  4. Launch the player from the icon in the dock

What is the current bug behavior?

Two desktop icons are displayed in the gnome dock. The jellyfin icon used to launch the application and another generic icon representing the running instance of jellyfin player.

What is the expected correct behavior?

A single desktop icon must be used to launch and track the application

Jellyfin Server version

10.10.0+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

10.10.7

Environment

- OS:
- Linux Kernel:
- Virtualization:
- Clients:
- Browser:
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- GPU Model:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Jellyfin Data Storage:
- Media Storage:
- External Integrations:

Jellyfin logs

-

FFmpeg logs

Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

There are two icons because the WM_CLASS of the application is "jellyfinmediaplayer" and "Jellyfin Media Player", but in the .desktop file-included in the .deb package- the setting StartupWMClass=com.github.iwalton3.jellyfin-media-player is used to detect and track the application.
The applications WM_CLASS and the StartupWMClass in the .desktop file must much.

StartupWMClass If specified, it is known that the application will map at least one window with the given string as its WM class or WM name hint

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions