Skip to content

Instantly share code, notes, and snippets.

@jarutis
Created April 28, 2021 12:36
Show Gist options
  • Save jarutis/9e8603285f9d067f989788fb54ab044d to your computer and use it in GitHub Desktop.
Save jarutis/9e8603285f9d067f989788fb54ab044d to your computer and use it in GitHub Desktop.
Spotify on linux

Installing spotify on Linux

If you use Snap to install Spotify:

snap install spotify

Spotify startup time on my machine is ~30s.

On the other hand installing it from .deb file:

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

Leads to instant startup time!

Spotify and HiDPI displays

You need to change a shortcut located at /usr/share/applications/spotify.desktop. Change the following line:

Exec=spotify %U

to

Exec=spotify --force-device-scale-factor=2.0 %U
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment