[BUG] Icon not properly displayed on Pop OS Cosmic
Preliminary Checks
- [x] I am using a recent version of the project.
- [x] I have read the FAQ section of the documentation.
Short Description
The Deezer icon is not properly displayed on the app tray
Steps to Reproduce
- Install the Flatpack Deezer app on Pop OS Cosmic
- Pin it to the app tray
Observed Behavior
The Deezer logo is not displayed. Instead, the basic icon is displayed.
Expected Behavior
The Deezer logo is displayed.
Operating System
Distributor ID: Pop Description: Pop!_OS 24.04 LTS Release: 24.04 Codename: noble 6.12.10-76061203-generic x86_64
Project Version and Package
Deezer - Online music streaming service
ID: dev.aunetx.deezer
Ref: app/dev.aunetx.deezer/x86_64/stable
Arch: x86_64
Branch: stable
Version: 7.0.140
License: LicenseRef-proprietary=https://www.deezer.com/legal/cgu/
Origin: flathub
Collection: org.flathub.Stable
Installation: user
Installed: 326.0 MB
Runtime: org.freedesktop.Platform/x86_64/24.08
Sdk: org.freedesktop.Sdk/x86_64/24.08
Commit: b6bc939f54a805a0317d6b4855523351082f4f8f74f2d9fdea1504348c2abd02
Parent: 12406f83ec1f7e611a202b2f871118e934800ad9876f55ba5d539a9b289ae874
Subject: Merge pull request #35 from flathub/update-master-70a9404 (50b6aca3ca2c)
Date: 2025-08-16 16:59:51 +0000
Environment Variables
No response
Additional Information (Optional)
Thanks for your report @outerLeitmotiv
Could you provide some additional information:
wmclass(tutorial on askubuntu).desktopfile (https://github.com/flatpak/flatpak/issues/1286)
Related to https://github.com/aunetx/deezer-linux/pull/19
cat .local/share/flatpak/exports/share/applications/dev.aunetx.deezer.desktop
[Desktop Entry]
Type=Application
Name=Deezer
GenericName=Online music streaming service
Comment=Listen and download all your favorite music
StartupNotify=true
Icon=dev.aunetx.deezer.svg
Terminal=false
MimeType=x-scheme-handler/deezer;
Categories=Audio;Music;Player;AudioVideo;
Keywords=Music;Player;Streaming;Online;
StartupWMClass=Deezer
SingleMainWindow=true
X-GNOME-UsesNotifications=true
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=run.sh --file-forwarding dev.aunetx.deezer @@u %U @@
X-Flatpak-Tags=proprietary;
X-Flatpak=dev.aunetx.deezer
However on cosmic I must say I struggle to find the wmclass info
Thanks for the desktop file. It seems completely fine.
I've been able to reproduce your issue on Pop!_OS 24.04 in VirtualBox.
Tray icon (top right) seems fine, however dash/pinned icon does not show up. It does not show up correctly in the launcher as well.
Based on https://github.com/pop-os/cosmic-launcher/issues/241, I would argue that it is related to Cosmic directly.
Workaround:
Edit ~/.local/share/flatpak/app/dev.aunetx.deezer/current/active/export/share/applications/dev.aunetx.deezer.desktop
- Icon=dev.aunetx.deezer.svg
+ Icon=/home/<user>/.local/share/flatpak/app/dev.aunetx.deezer/current/active/export/share/icons/hicolor/scalable/apps/dev.aunetx.deezer.svg
I tried to create a local file (recommended way) but it did not work (most likely something with Pop!_OS again).
@outerLeitmotiv have been able to solve the issue by updating the app or using the workaround?
I would like to add that this is the case for the appimage file as well. not sure if it's needed but i'm on cachyos + hyprland. I couldn't get the flathub install to run properly, so i switched to the appimage version. should I unpack and manually install it? maybe it'll work then?
I have the same bug on Pop_OS! stable. It does not only happen on cosmic.
Desktop file:
[Desktop Entry]
Type=Application
Name=Deezer
GenericName=Online music streaming service
Comment=Listen and download all your favorite music
StartupNotify=true
Icon=dev.aunetx.deezer.svg
Terminal=false
MimeType=x-scheme-handler/deezer;
Categories=Audio;Music;Player;AudioVideo;
Keywords=Music;Player;Streaming;Online;
StartupWMClass=Deezer
SingleMainWindow=true
X-GNOME-UsesNotifications=true
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=run.sh --file-forwarding dev.aunetx.deezer @@u %U @@
X-Flatpak-Tags=proprietary;
X-Flatpak=dev.aunetx.deezer
Os:
Distributor ID: Pop
Description: Pop!_OS 22.04 LTS
Release: 22.04
Codename: jammy
Edit: It only happens in the launcher, but not in the app switcher or the application top bar.
@do-nat @outerLeitmotiv @Lynndroid21 could you check latest release (v7.1.x)? (flathub should be available soon, and you can get a local flatpak build in the release artifacts)
not sure what originally happened, but reinstalling it fixed the issue!
not sure what originally happened, but reinstalling it fixed the issue!
sometimes you have to reload your session so flatpak environment variables are correctly registered, might be related to your issue
For anyone still having an issue, please run flatpak update dev.aunetx.deezer and you should be good :)
I'm sorry for the inconvenience
Thank you for your work! @josselinonduty
I still have this issue on version 7.1.20, but it might be my wonky system ...
Hi Josselin. Sorry about my lack of response as of late. The Deezer app was updated yesterday & today, but the "issue" is not yet solved. I have currently version: 7.1.20 installed.
Furthermore, I tried the fix you proposed here:
- Icon=dev.aunetx.deezer.svg
+ Icon=/home/<user>/.local/share/flatpak/app/dev.aunetx.deezer/current/active/export/share/icons/hicolor/scalable/apps/dev.aunetx.deezer.svg
But this did not help.
I must say tho, that this is a very minor inconvenience on an otherwise flawless app.
I am unable to reproduce this issue on a brand new VMed Pop!_OS 22.04
Chould you try to uninstall the app and reinstall, if you haven't already?
It only happens with the launcher (Press Super, then type deezer), but not in the dock:
I have already updated and reinstalled the app 😇
I see now
I'll try to understand how the launcher works/loads icons
Workaround for me (default/user install):
nano ~/.local/share/flatpak/exports/share/applications/dev.aunetx.desktop
# Edit Icon field
Icon=.local/share/flatpak/exports/share/icons/hicolor/scalable/apps/dev.aunetx.deezer.svg
Please tell me if it worked @do-nat @outerLeitmotiv
@josselinonduty
It does work if I change the Icon to an absolute path, but not with a relative one and also not with ~/.local/....
Working config:
Icon=/home/do-nat/.local/share/flatpak/exports/share/icons/hicolor/scalable/apps/dev.aunetx.deezer.svg
It looks like other apps that work also have a absolute path there instead of a relative one or one that starts with .local
What other flatpak apps do you have installed, if you're fine telling me?
I would like to compare the way other apps are packaged
I have e.g. Discord installed via flatpak, but it also does not have a full path for the icon, just the app id.
I thought it might be because you only provide an svg, but Discord is an example that only provides an svg, too.
hu.irl.cameractrls is another app that works and has an svg for the icon
Ahhh, I got it! You can't postfix .svg, this breaks it. Just the application id: dev.aunetx.deezer.
I created a PR for that: https://github.com/aunetx/deezer-linux/pull/188