Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

StartupWMClass missing from .desktop file

StartupWMClass missing from .desktop file

Hey,

 

please consider adding 

 

StartupWMClass=spotify

to the .desktop file for the spotify snap. This will make it possible for users to pin spotify to their launchers. 

 

 

The .desktop file should look something like this

 

[Desktop Entry]
Name=Spotify
GenericName=Music Player
Comment=Spotify streaming music client
Icon=${SNAP}/usr/share/spotify/icons/spotify-linux-128.png
Exec=spotify %U
TryExec=spotify
Terminal=false
StartupWMClass=spotify
Type=Application Categories=Audio;Music;Player;AudioVideo; MimeType=x-scheme-handler/spotify;

 

and is located in 

/var/lib/snapd/desktop/applications/spotify_spotify.desktop

 

 

this will also solve the issue of multiple Spotify icons appearing in most bars/docks/launchers.

 

Cheers

Marius

https://www.NerdZoom.de
Reply
0 Replies

Suggested posts

Type a product name

Did you find this article helpful?