Announcements

Spotify Client crashes when adding a directory to local files [Linux]

Reply

Spotify Client crashes when adding a directory to local files [Linux]

Rover0
Regular

Plan

Premium

 

Country

Sweden

 

Operating System

Pop!_OS 20.04 (Linux, seems to happen on all distributions)

 

My Question or Issue

So, it seems downloading the client with no update from https://www.spotify.com/se/download/linux/b/ and using the Debian / Ubuntu repo works fine when adding a local files directory, but when I download the Snap & Flatpak version of the client the whole program crashes when trying to add a local files directory. This seems to be an issue with Spotify itself since I've tried this as well on a Manjaro install with the same issue. 

 

EDIT: I don't know if this happens on other desktop enviornments other than GNOME since it's the only DE I've used Spotify on

19 Replies

Re: Spotify Client crashes when adding a directory to local files [Linux]

Raymondgggg
Newbie
Yeah, I think the update has messed something up cause a few days ago this was not happening for me as well.

Re: Spotify Client crashes when adding a directory to local files [Linux]

Lappro
Regular

I'm having the same problem here running Linux Mint 19.3 (with Cinnamon DE), running the latest client from Spotifys own repository.

 

Happens on both my laptop and desktop (running same OS). So it truly seems like an error on Spotifys side.

Re: Spotify Client crashes when adding a directory to local files [Linux]

H4kt
Newbie
Still having the same issue
Running Ubuntu 20.04 LTS

Re: Spotify Client crashes when adding a directory to local files [Linux]

Sanras
Regular
Same issue here, Arch Linux with kernel 5.9.3, Plasma desktop 5.20.2. The issue existed in Plasma 5.19 as well. Since all Linux users regardless of desktop environment and distribution are reporting this issue, this is clearly the fault of Spotify. And of course, they still haven't bothered to fix a pretty huge issue. They're breaking the app with every update, and still haven't fixed the **bleep**ing MPRIS implementation, because Spotify just doesn't give a single damn about its Linux users. Absolute BS.

Re: Spotify Client crashes when adding a directory to local files [Linux]

xxxryxxx
Visitor
Same here, i am using Ubuntu 20.10 and actually it crashes in everything that need to browse into your files like change your donwload directory or change your profile photo. I tried to do that using the spotify from the snap, flatpak and the Debian/Ubuntu but it happens in all of them.

Re: Spotify Client crashes when adding a directory to local files [Linux]

wolfiy
Casual Listener

Same issue, arch, kernel 5.9.8-arch1-1, bspwm

Re: Spotify Client crashes when adding a directory to local files [Linux]

xenrida
Casual Listener

USE XFCE or I3 to edit settings, then save and go back to gnome.

 

That's my current workaround.

 

Re: Spotify Client crashes when adding a directory to local files [Linux]

TIIUNDER
Newbie

Same problem on Ubuntu 20.04

Re: Spotify Client crashes when adding a directory to local files [Linux]

jcursiolf
Casual Listener

Ubuntu 20.10 here. Also crashes, regardless of deb package from repo, snap or even flatpak. Really annoying.

Re: Spotify Client crashes when adding a directory to local files [Linux]

xenrida
Casual Listener
Fairly certain it is a problem with gnome.

Using i3 or xfce circumvents the problem

Problem also occurs with regolith, which uses gnome-flashback.

Re: Spotify Client crashes when adding a directory to local files [Linux]

jcursiolf
Casual Listener

It is not really a problem with GNOME, but something that Spotify changed. Version 1.1.26.501.gbe11e53b-15_amd64 from  https://repository-origin.spotify.com/pool/non-free/s/spotify-client/ made in February 2020 works normally while the newest version from September does not. I'd say Spotify changed something that affects only GTK-based DEs (although I think somebody said they were having trouble with KDE Plasma too).

Re: Spotify Client crashes when adding a directory to local files [Linux]

mboitata
Casual Listener
Same for Fedora 33 w/ Gnome 3.38.1

Re: Spotify Client crashes when adding a directory to local files [Linux]

Tscutty
Casual Listener

Xenrida Do you have steps for this? Ubuntu 20.04. Mine crashes when I click add source.

Re: Spotify Client crashes when adding a directory to local files [Linux]

daltroaugusto
Casual Listener

The solution was to manually downgrade the Flatpak version to an older version of the app. Using the version of commit "runtime: update to 20.08 (39ce772c)" is an efficient workaround for the issue. You can see how to downgrade a Flatpak package in: https://docs.flatpak.org/en/latest/tips-and-tricks.html#downgrading

Unfortunately, we can't wait for a real fix too soon, given that as alleged by Spotify themselves, Linux version is "not officially supported".

Re: Spotify Client crashes when adding a directory to local files [Linux]

tuurn-
Newbie

Same issue on Ubuntu 20.04

Re: Spotify Client crashes when adding a directory to local files [Linux]

Tscutty
Casual Listener

Same here. Unable to find a fix. Waiting for Spotify to release the local files on phones. Heard it's coming soon.

Re: Spotify Client crashes when adding a directory to local files [Linux]

daltroaugusto
Casual Listener

Same problem here. Fedora 33 as well.

The workaround for me was to keep an old version of Spotify's Flatpak (masked, with updates disabled of course) and the newest packaged ("official") version of the client both installed. Then what I do is, after adding my local folder(s) on the old version, doing the copy of "local-files.bnk" and "watch-sources.bnk" files from the Flatpak config folder (sorta "~/.var/app/com.spotify.Client/config/spotify/Users/[your number]-user/" directory) to the native version config folder ("~/.config/spotify/...same structure...").

 

Ps.: for a good UX, I recommend you all to hide the Flatpak version from your app menu.

Re: Spotify Client crashes when adding a directory to local files [Linux]

Dr_Jeff
Visitor
As far as I get, it's a problem with GNOME-based Desktop Environments, specifically with Nautilus (the files explorer) and other libraries. I'd say, if you are able to, switch temporarily from GNOME to XFCE or other environments (as stated by xenrida), until they fix it(?), although it has been around for quite some time by now 😕

Re: Spotify Client crashes when adding a directory to local files [Linux]

jcursiolf
Casual Listener

I have to say that it happened to me with a fresh Kubuntu install. That's KDE. No Gnome, no Nautilus.

SUGGESTED POSTS