JasonLG1979 / gnome-shell-extension-mpris-indicator-button

A full featured MPRIS indicator button extension for GNOME Shell 3.38+
https://extensions.gnome.org/extension/1379/mpris-indicator-button/
GNU General Public License v3.0
159 stars 21 forks source link

[Help] - Tray Icon #65

Closed Jvlsc closed 2 years ago

Jvlsc commented 2 years ago

Hi,

This is not a bug or feature requests. I'm reaching you out to ask if you could help me with the tray icon. I'm using a custom theme (Numix) which have lot of symbolic icons (Spotify included) and it's working on all apps but not in this extensions. How is the icon loaded from this extension?

Currently using Gnome 42.

Kind regards.

JasonLG1979 commented 2 years ago

I did a quick search of the Numix repos and can't find an icon called spotify-client-symbolic and the Spotify .deb and snap do not ship their own symbolic icon. I actually created a symbolic icon for the flatpak so you can either use the flatpak, ask the numix folks to include a symbolic icon or ask Spotify to include it.

JasonLG1979 commented 2 years ago

To answer your question directly. It looks for icons by name just like every other app.

Jvlsc commented 2 years ago

I manually placed those icons with that name in my installed theme (copying and renaming the current ones), but the extension doesn't load them. I also updated the icons cache and restarted gnome shell, but it's not working neither. That's why I was asking if you would know how to solve it.

JasonLG1979 commented 2 years ago

Custom icons should not be placed in the system-wide icon theme as they can be overwritten on update.

If you want to add your own spotify-client-symbolic icon for a native package you should put it in ~/.local/share/icons/hicolor/symbolic/apps/ (that folder may not exist and you may have to create it.)

For the snap I'm not sure how the namespacing works so you'll need to figure that out for yourself. All of this is really out of scope of the extension and is an upstream issue so you're on your own.

JasonLG1979 commented 2 years ago

File a bug upstream.