Did you find this article helpful?
StartupWMClass missing from .desktop file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page