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

Reply

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