pop os spotify code example

Example 1: spotify download ubuntu

#On ubuntu can just type following command:
snap install spotify
#if that not works you can also try to install the debian package
#you will need for this 'curl' so install that first
sudo apt install curl
#after installing curl or you already have installed curl you shuld run this command
curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | sudo apt-key add -
#and also
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
#after that get update
sudo apt-get update
#and also the upgrade
sudo apt-get upgrade
#now install spotify client
sudo apt-get install spotify-client
#now you can open spotify
#users with 4k monitor i recement to scale the app up
#else it will be very hard to read the text
#open for that again the terminal
#open directory /usr/share/applications/
cd /usr/share/applications/
#open spotify.desktop file with sudo
sudo gedit spotify.desktop
#now change the line
Exec=spotify %U
#to:
Exec=spotify --force-device-scale-factor=2.0 %U
#and safe the file
#this will scale spotify for 2x while starting
#now you can close everything and open spotify

Example 2: ubuntu spotify

curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | sudo apt-key add - 
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update && sudo apt-get install spotify-client