Having trouble with Spotify on your Desktop app? Here’s what to try first.
Someone might have asked your question on the Community before.
So type your issue into the search box and have a look.
Go through these steps one at a time. They can help you solve most issues on your own.
1. Clear Spotify cache
killall spotify
rm -rf $HOME/.cache/spotify/Storage
2 Check this thread for troubleshooting connection issues.
3 Ask a friend or family member to sign into Spotify on your Desktop. See if the issue is persisting on their account too. If yes, the issue is the device and can likely be solved with more troubleshooting.
4. Change settings within the app: Sync quality, Stream Quality, Gapless Playback, Crossfade. See if a different combination of these settings makes a difference.
1. Is spotify starting normally?
spotify
1. Can you play a sound?
aplay /usr/share/sounds/alsa/Front_Center.wav
2. Is the system recognizing your sound card?
aplay -l
3. Is Spotify running on prefered sound card? Change between sound cards in gnome/unity control center.
unity-control-center sound gnome-control-center sound
4. Nothing works so far? Report your issue!
spotify >$HOME/spotify-dump.txt 2>&1
or
strace spotify > $HOME/spotify-dump 2>&1
We’ll need as much information as you can provide. So filling in this template is helpful:
=== START OF TEMPLATE ===
6. Attach the spotify-dump.txt ( $HOME/spotify-dump.txt ) from Advanced troubleshooting 4.
=== END OF TEMPLATE ===
Known issues :
Error while loading shared libraries: libgcrypt.so.11 - fix debian / fix ubuntu.
Spotify on Linux doesn't play local mp3 files - fix.
Tips :
Add Spotify's testing repository:
echo deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list
Install Spotify 0.9.17
sudo apt-get install spotify-client-0.9.17
Some information and template is taken from here.
Linux is not officialy supported by Spotify.
Hey @corvusd,
This package is part of the testing repository, so some things may still not work and come up with later patches.
Here is how to add the testing repo:
echo deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list
Hello everyone,
Just a quick heads up that you can still install the old version ( 0.9.17 ) of Spotify via the repository if the 1.24 client is not working well for you.
sudo apt-get install spotify-client-0.9.17
Hope this helps!
@vazerick I'd recommend downgrading to a previous version, until they iron out some stuff in the current version. I'm using 0.9.11.27 and feels much better with Cinnamon.
Hi, I have installed ubuntu-restricted-extras, ffmpeg, libavcodec, livavutil, libavformat, zenity but doesn't work.
😕
Spotify finds the songs, but don't play and close the app.
=======================================================
Solved after read this post: https://community.spotify.com/t5/Help-Desktop-Linux-Windows-Web/Can-t-play-local-files-with-current-version-of-ffmpeg/m-p/106615/highlight/true#M7964
So, I decided publish the solution.
1º) Install some packs: ubuntu-restricted-extras, ffmpeg, libavcodec, livavutil, libavformat, zenity.
sudo apt install ubuntu-restricted-extras ffmpeg libavcodec-extra libavcodec-extra57 libavutil55 libavformat57 zenity -y
New version to packs: libavformat57 libavcodec-extra57 libavcodec-extra libavutil55
2º) Download some archives: (I put all in the github repository)
--> Download the package: https://****/ramedeiros/spotify_libraries/archive/master.zip
Or direct from the terminal:
git clone https://****/ramedeiros/spotify_libraries.git
3º) Put all the files in to /usr/lib/x86_64-linux-gnu/ with root privileges.
cd spotify_libraries sudo cp lib* /usr/lib/x86_64-linux-gnu/
4º) Execute: ldconfig
sudo ldconfig
5º) If show any problem with link, make new links.
e.g.: "/sbin/ldconfig.real: /usr/lib/x86_64-linux-gnu/libavutil.so.52 it's not a symbolic link"
So, execute command:
sudo ln -frs /usr/lib/x86_64-linux-gnu/libavutil.so.52.6.100 /usr/lib/x86_64-linux-gnu/libavutil.so.52 sudo ln -frs /usr/lib/x86_64-linux-gnu/libavformat.so.54.36.100 /usr/lib/x86_64-linux-gnu/libavformat.so.54 sudo ln -frs /usr/lib/x86_64-linux-gnu/libavcodec.so.54.71.100 /usr/lib/x86_64-linux-gnu/libavcodec.so.54
And so on...
Original link: https://community.spotify.com/t5/Help-Desktop-Linux-Windows-Web/Linux-Local-files-do-not-play-on-Ubuntu-16-04-SOLVED/td-p/1343831
@eiGhee4j wrote:I just updated to 1.0.32.94.g8a839395 and scrolling has become extremely sluggish and I also get screen tearing while scrolling. I believe this is related to smooth scrolling which was shipped in chromium recently but which can be disabled there. Can you please provide an option to disable smooth scrolling in Spotify?
Very likely related.
Some of the chromium options are available in Spotify as well, but since there is no chrome://flags/ page you have to set it from the command line.
spotify --disable-smooth-scrolling
It is unlikely that this will become a toggle in the settings menu.
@corvusd wrote:This important linux website is inform that spotify support is end.
http://www.omgubuntu.co.uk/2016/08/spotify-web-player-desktop-integration-ubuntu
This forum is alive this months back... I can't understand what happens. Is true that situation of the not support?
Spotify has never supported the Linux client, so support for it has not ended, but it has also never started. For a long time, the Linux advice was "Run the Windows client with Wine". A few years ago, the native Linux client was released. It shared a lot of code with the Windows/Mac client. Last year, a new version of the native Linux client was released. It shares almost all code with the Windows/Mac client.
I think that the word support means different things for different people. What I mean with Linux client not supported is:
@we do however have a few dedicated helpers here in the forum, thanks @Dreadlord and all others answering Linux questions! Even asking questions help, because it will usually bring people googling for the same problem here and maybe help them, seeing others with the same problem.
If code changes that affect the Linux specific parts, care is taken, not to break it. However, if the Linux client ends up being very buggy, and can't be released at the same time as the Windows/Mac version, there is usually enough attention inside the company to help bring it back on its feet again.
I have been working very slowly triaging and fixing bugs and implementing new linux specific features on my hackdays. A hackday is basically one day every other week when you can dig in and work on other things you normally don't work with, to learn new things, help others, and in my case, make that tiny change you always wanted, that never get prioritized enough. I find it quite fun.
Spotiweb looks cool! Nice integration with the web player.
The value is set for 2 actually... Apparently that means "always active".
I installed SpotiWeb, which worked fine right away, and now the Web Player is working in Firefox again as well. Mysterious, but problem solved I guess.
Yoh have last version.
See here for updates.
http://repository.spotify.com/pool/non-free/s/spotify-client/
I'm powering off my Lubuntu machine with a physical power button (shutdown -P) and Spotify doesn't save the last volume level setting. iirc the shutdown sequence sends a signal (SIGTERM ?) to all running processes telling them to die and it seems that Spotify doesn't save the volume when it exits afer catching that signal. Anyone knows if there is a signal I can send during shutdown to make Spotify save the volume level before it exits? This machine doesn't have a monitor attached to it, so can't close the app interactively. Perhaps I can add a shutdown hook to close it via the windowing system basically simulating a mouse click. Any other ideas?
@mfonville wrote:The latest version of spotify for Debian/Ubuntu is missing its dependency on libatomic1. If that dependency is not installed, starting Spotify will fail with:
spotify: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directoryPlease fix by adding the dependency to the package
Thanks for the report. I quickly tried to push through a new build. It should be fixed in 1.0.64.407.
The repository information in your /etc/apt/sources.list.d/spotidy.list file isn't correct and the other commands fail because you haven't actually installed the spotify client yet.
Check that the /etc/apt/sources.list.d/spotify.list contais the following line
deb http://repository.spotify.com stable non-free
and then run
sudo apt-get update
to update the repository information and then
sudo apt-get install spotify-client
to actually install Spotify.
The complete installation procedure is:
# 1. Add the Spotify repository signing key to be able to verify downloaded packages sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 # 2. Add the Spotify repository echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list # 3. Update list of available packages sudo apt-get update # 4. Install Spotify sudo apt-get install spotify-client
The version 1:1.0.25.127.g58007b4c-22 in testing needs libssl1.0.0 to run but at least Debian stretch/sid has replaced it with libssl1.0.2.
When does Spotify learn to add all the required packeges to the deb dependencies? (spotify: error while loading shared libraries: libgcrypt.so.11)
OS: Ubuntu 14.04, 64 bit, Unity
Account: Free
Version: 1.0.24.104.g92a22684
Description: since last update the Global menu does not work with Spotify. tray icon also missing.
Reproduction: just run the application.
Hey @azakrezisrac,
These are known issues.
I hope they are going to get fixed really soon. Until then there is not much we can do about it 🙂
oh okay. i just did not found any reports.
I tested the 1.0.25.127-2, and I still can't move the playlists in the left plannel. Someone else at the same issue?
Hi all,
I have Spotify Free version 1.0.24.104.g92a22684 installed on Ubuntu 14.04.4.
It worked fine until a few weeks ago, then it started to crash right after turning it on.
This is the dump I get when I run it from the command line:
[0320/184445:ERROR:browser_main_loop.cc(203)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[0320/184445:ERROR:main_delegate.cc(764)] Could not load cef_extensions.pak
21:44:46.155 5 [playlist_be_pl4_context.cpp:68 ] [spotify:user:wplagges:rootlist] Creating context
21:44:46.155 5 [playlist_be_pl4_context.cpp:68 ] [spotify:user:wplagges:publishedrootlist] Creating context
21:44:46.175 I [dns.cpp:62 ] resolved apresolve.spotify.com to 194.68.28.194
21:44:46.175 I [dns.cpp:62 ] resolved apresolve.spotify.com to 194.68.30.50
21:44:46.176 I [dns.cpp:62 ] resolved apresolve.spotify.com to 194.68.28.178
21:44:46.203 E [offline_key_store.cpp:85 ] Offline: failed to load key stores, error: sync_error_offline_key_store_file_not_found (7007), path: /home/wladimir/.cache/spotify/Users/wplagges-user/cached
21:44:46.219 D [gaia_manager.cpp:656 ] GAIA: TIMING(3571665) GaiaManager::start, _service_status=kServiceStatusStopped
21:44:46.219 D [gaia_manager.cpp:997 ] GAIA: TIMING(3571665) GaiaManager::sendSubscribe
21:44:46.220 D [gaia_manager.cpp:331 ] GAIA: GaiaManager::stateTransition, kServiceStatusStopped->kServiceStatusInSubscribeTx
21:44:46.233 5 [playlist_be_pl4.cpp:528 ] synchronizePlaylistContainer 'spotify:user:wplagges:publishedrootlist'
21:44:46.233 3 [playlist_be_pl4_context.cpp:303 ] [spotify:user:wplagges:publishedrootlist] Synchronization starting: GET (from revision 0,726f6f7400000000000000000000000000000000)
21:44:46.234 5 [playlist_be_pl4.cpp:528 ] synchronizePlaylistContainer 'spotify:user:wplagges:rootlist'
21:44:46.234 3 [playlist_be_pl4_context.cpp:303 ] [spotify:user:wplagges:rootlist] Synchronization starting: GET (from revision 0,726f6f7400000000000000000000000000000000)
21:44:46.234 I [offline_manager.cpp:2699 ] Storage has been cleaned
21:44:46.239 I [gaia_hermes_channel.cpp:116 ] GAIA: GaiaHermesChannel::send, failed query response_code=38
21:44:46.241 5 [playlist_be_pl4_context.cpp:194 ] [spotify:user:wplagges:publishedrootlist] 'GET' request complete
21:44:46.241 3 [playlist_be_pl4_context.cpp:487 ] [spotify:user:wplagges:publishedrootlist] synchronization error: non hermes error
21:44:46.241 3 [playlist_be_pl4_context.cpp:508 ] [spotify:user:wplagges:publishedrootlist] - transient error, retrying.
21:44:46.241 5 [playlist_be_pl4_context.cpp:194 ] [spotify:user:wplagges:rootlist] 'GET' request complete
21:44:46.241 3 [playlist_be_pl4_context.cpp:487 ] [spotify:user:wplagges:rootlist] synchronization error: non hermes error
21:44:46.241 3 [playlist_be_pl4_context.cpp:508 ] [spotify:user:wplagges:rootlist] - transient error, retrying.
21:44:46.525 I [ap_connection_impl.cpp:497 ] Connecting to AP sjc1-accesspoint-a18.ap.spotify.com:4070
21:44:46.550 I [dns.cpp:62 ] resolved sjc1-accesspoint-a18.ap.spotify.com to 194.68.28.130
Illegal instruction
Thanks,
Wladimir
.The client continue to crash when using the search in playlist with the 1.0.25
[xcb] Unknown sequence number while processing queue [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. spotify: xcb_io.c :274 : poll_for_event: l'assertion « !xcb_xlib_threads_sequence_lost » a échoué. [xcb] Unknown sequence number while processing queue [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called /usr/bin/spotify : ligne 2 : 7603 Abandon (core dumped)LD_PRELOAD=libcurl.so.3 /usr/share/spotify/spotify "$@"
wplagges try to delete the .cache/spotify/ folder if that would fix the folowing error.
23:17:03.510 E [offline_key_store.cpp:85 ] Offline: failed to load key stores, error: sync_error_offline_key_store_file_not_found (7007), path: /home/wladimir/.cache/spotify/Users/wplagges-user/cached
Hey @bitelaum,
Just tested the basic MPRIS functionality and it's working fine for me.
I will do some advanced tests tomorrow : )
)
Nice 🙂
If you have the chance, try to look to the OS integration too.
In Linux Mint 17.3 Cinnamon I'm having issues with Spotify not showing in the window list (but it's still accessible from alt tab) and also the album covers and media buttons not being integrated in the sound applet (how it supposed/used to work: http://segfault.linuxmint.com/2015/09/cinnamon-2-8-better-sound-applet/ )
Much love from a Linux user!
Can get mpris to work in Plasma 5.6.1 I can see it in the dbus list but in Plasma it doesnt show up. VLC works fine.

Hello @0815name,
I have confirmation that we will see MPRIS2 support working with 1.0.27 build that is coming in next few weeks : )
I updated my app, and now i can't find my starred (favoritos) playlist anywhere. It's still in the play.spotify, so at least it's not lost.
Can someone help me?
Hi, it's:
Linux Mint 17.3 Cinnamon 2.8.8 64-bit
Spotify: 1:1.0.25.127.g58007b4c-22
@vazerick I'd recommend downgrading to a previous version, until they iron out some stuff in the current version. I'm using 0.9.11.27 and feels much better with Cinnamon.
That worked! Thanks!
Last update to client 1.x the media control works on Ubuntu! 😄 Thanks!
Hi,
for some reason I do not have any possibilty to change settings in "startup and window behaviour" anymore, there are none.
I am using ubuntu mate.
Operating system: Linux Mint 17.2 Cinnamon 64-bit
Spotify version: 0.9.17.1
I'm unable to create new playlist or folder of playlists via "New Playlist" button or command bar on the top. The bar to type name appears but playlist/folder is not created. Similarly, I cannot change names of already existing playlists/folders.
Should I try some other version of Spotify? If so, which one would be the best?
@OhSeeEmilyPlay I use 0.9.11.27. Works great with Cinnamon and I don't feel the need to update it.
@osornios I uinstalled my Spotify and installed version that you suggested. Sadly it had the same problem 😞
Now I installed latest stable version (I think), which is version 1.0.25.127 and it works!
Thank you for your reply 🙂
Hi, I just signed up for spotify premium and after I downloaded the Desktop App I'm having this weird issue.
I start spotify normally, but it doesn't show in the taskbar. So, always when I click in other window or minimize spotify, I can't find him anymore, execept by alt+tabbing to it. He continues to play even not showing in the taskbar.
6. Attach the spotify-dump.txt ( $HOME/spotify-dump.txt ) from Advanced troubleshooting 4.
Could not find this too. Someone can tell me where is the spotify data directory is located? Couldn't find it. (It's not in home).
Some screenshots showing the problem are attached to my post.
BTW, sorry for my bad english, I'm Brazilian.
@Lexxidon wrote:
- Your device and operating system:
I'm using Linux Mint Rosa 17.3- Type of Spotify account you have (Free/ Premium): Premium
- The app version of Spotify you’re using:
Soooo, I searched everywhere but can't find wich version I'm using. 😞- Brief description of the issue:
Hi, I just signed up for spotify premium and after I downloaded the Desktop App I'm having this weird issue.
I start spotify normally, but it doesn't show in the taskbar. So, always when I click in other window or minimize spotify, I can't find him anymore, execept by alt+tabbing to it. He continues to play even not showing in the taskbar.- Steps to reproduce the issue:
First I opened it, then i minimized it and BANG.6. Attach the spotify-dump.txt ( $HOME/spotify-dump.txt ) from Advanced troubleshooting 4.
Could not find this too. Someone can tell me where is the spotify data directory is located? Couldn't find it. (It's not in home).
Some screenshots showing the problem are attached to my post.
BTW, sorry for my bad english, I'm Brazilian.
Fellow brazilian here, also using Linux Mint Rosa Cinnamon edition.
Also a premium subscriber which is not that happy with the current Linux player.
This is a known issue, which I hope will be fixed soon.
However, there is a workaround which is moving the player to another workspace and then moving it back.
It'll make the Spotifly player visible in the taskbar.
I recommend using the testing version (from the testing repository) since the latest patch corrected MPRIS2 (the version is 1.0.27).
For Linux Mint Rosa it means that in this latest version the sound applet works as it's supposed to work.
Hey @corvusd,
Can you upgrade your client to 1.19 and see if the issue persists?
Link to the package can be found here.