From 63b077abaf57c6efe9c2b6e922702ce12a692d73 Mon Sep 17 00:00:00 2001 From: Albert Schwarzkopf Date: Sat, 3 Dec 2022 21:20:03 +0100 Subject: [PATCH] spotify: Fix missing icon in KDE task manager Spotify onlys get a generic "X11" icon in the task manager. No window title is shown either. The template moves the "icons" folder provided by spotify to /usr/share/spotify. However, it appears that spotify searches for the icons in /usr/libexec/spotify. Create a symlink to /usr/share/spotify/icons so spotify finds the icons again. This makes the spotify icon appear in the KDE taskbar. It also sets the title of the spotify window. Fixes: #36615 --- srcpkgs/spotify/template | 1 + 1 file changed, 1 insertion(+) diff --git a/srcpkgs/spotify/template b/srcpkgs/spotify/template index 50c28fc7672f..9ec23fdddc4a 100644 --- a/srcpkgs/spotify/template +++ b/srcpkgs/spotify/template @@ -38,6 +38,7 @@ do_install() { # move icons to /usr/share mv "${DESTDIR}/usr/libexec/spotify/icons" "${DESTDIR}/usr/share/spotify/" + ln -s "/usr/share/spotify/icons" "${DESTDIR}/usr/libexec/spotify/icons" # install icons for _s in 16 22 24 32 48 64 128 256 512; do