I am new on the forum and I created this account to share my experience with snaps under Debian, I think there is potential of having a seamless, cross platform, and secure environment to distribute software in GNU/Linux.
Normally installing Spotify in Debian 9 needs the installation of a library from Debian 8, libssl1.0.0 to be precise, which is something to be avoid if you don’t want to break Debian (https://wiki.debian.org/DontBreakDebian). However snaps offer a really nice path to get Spotify under Debian without installing stuff from other releases.
I installed snapd
sudo apt install snapd
sudo snap install spotify
A little bit of waiting and the process was complete, however no I con appeared in GNOME Shell to launch Spotify nor it appeared after restaring GNOME Shell using Alt+F2. To be able to see Spotify’s launcher I had to reboot my computer, which is not really that good nor is clear, for a moment I thought that the installation did not work.
After restarting my computer I was able to see Spotify’s launcher in GNOME, and it runs, awesome! however a couple of things called my attention.
Spotify’s icon does not scale with the rest and spotify does not use my Adwaita cursor theme and falls back to the old xorg default one. For some reason it does not play along with the rest of the system.
Also, another thing that I think that could be improved is that it creates a folder “snap” in my home folder, this could confuse new users that don’t really know what should be inside. I think this folder should be hidden by default to avoid cluttering the user home folder.
So far really good, and other than some minimal details I am really satisfied with the result.