flecs icon indicating copy to clipboard operation
flecs copied to clipboard

[Bug]: App name and icon not displaying within the player notification on Gnome 48

Open xxfogs opened this issue 11 months ago • 3 comments

Preflight Checklist

  • [x] I use the latest version of YouTube Music (Application).
  • [x] I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • [x] I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.9.0

Checklists

What operating system are you using?

Other Linux

Operating System Version

Debian GNU/Linux trixie/sid x86_64

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

  1. Launch Youtube Music within a Gnome 48 DE
  2. Open desktop notification panel
  3. Observe the issue

Expected Behavior

Notification icon and app name display propertly, for instance:

Image

Actual Behavior

Default app icon and app ID display, instead of the app name and the respective icon:

Image

Enabled plugins

  1. Album Actions
  2. Exponential Volume
  3. Navigation
  4. Performance improvement
  5. Unobtrusive Player

Additional Information

No response

xxfogs avatar May 15 '25 13:05 xxfogs

Do you have any youtube-music.desktop at ~/.local/share/applications or /usr/share/applications ?

If not, try creating one at ~/.local/share/applications/youtube-music.desktop

[Desktop Entry]
Categories=AudioVideo
Exec=youtube-music %u
Icon=youtube-music
Name=YouTube Music
StartupWMClass=com.github.th_ch.youtube_music
Type=Application
Version=1.4

(if it works, make sure to do the same with the icons under ~/.local/share/icons)


if the desktop entry already exists and it still doesn't work, then it's either an issue with Gnome 48 or the deb package I guess

because it's working on Gnome 47 (tested in a NixOS VM)

Image

h-banii avatar May 17 '25 00:05 h-banii

I have youtube-music.desktop at /usr/share/applications:

[Desktop Entry]
Name=YouTube Music
Exec="/opt/YouTube Music/youtube-music" %U
Terminal=false
Type=Application
Icon=youtube-music
StartupWMClass=com.github.th_ch.youtube_music
Comment=YouTube Music Desktop App - including custom plugins
Categories=AudioVideo;

And I have icons at /usr/share/icons:

./hicolor/512x512/apps/youtube-music.png
./hicolor/16x16/apps/youtube-music.png
./hicolor/1024x1024/apps/youtube-music.png
./hicolor/64x64/apps/youtube-music.png
./hicolor/256x256/apps/youtube-music.png
./hicolor/48x48/apps/youtube-music.png
./hicolor/24x24/apps/youtube-music.png
./hicolor/32x32/apps/youtube-music.png
./hicolor/128x128/apps/youtube-music.png

I have tried to create an additional desktop file with the contents you suggested, didn't seem to change much.

I also booted up a VM with Gnome 46 and tried installing youtube-music there. I am reproducing the same issues:

Image

xxfogs avatar May 17 '25 10:05 xxfogs

Can confirm. Same goes with Flatpak and AppImage.

franz-dc avatar May 17 '25 11:05 franz-dc