Trying to make it work on Flatpak
I have been trying to make it work on Flatpak installation of Spotify but looks like css is packed differently. Is there any workaround for this ?
- You need to find where Flatpak stores your Spotify client. As in Manjaro, it stores mine in:
/var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify/

-
Set
spotify_pathin config file to that directory:
-
In terminal, set read/write permission for it:
sudo chmod 777 -R /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify/
- Happy customizing!
What does spotify path exactly refer to? The binary? Or the /usr/share/spotify folder that I have on Arch Linux?
EDIT:
it's /opt/spotify/. Probably a good idea to document this option a little better, or find a way to more properly support arch.
I got the following after following the configuration part of the guide:
$ spicetify backup apply enable-devtool
error Cannot detect Spotify location. Please manually set "spotify_path" in config.ini
For me, the prefs path for flatpak isn't in .config/spotify/prefs
spicetify apply spicetify v0.9.8 error /home/myusername/.config/spotify/prefs does not exist or is not a valid path.
Do you know where the flatpak version of spotify stores it's configuration? Thanks!
~/.var/app/com.spotify.Client/config/spotify/prefs
~/.var/app/com.spotify.Client/config/spotify/prefs
I have flatpak spotify as that exact path, but copying/pasting it still gives me the same error.
Which distro are you using?
I am using Fedora and Spotify flatpak
I changed the prefs_path to /home/adityakrcodes/.var/app/com.spotify.Client/config/spotify/prefs
and it worked like a charm
The problem is. Where is config file location. I don't see in documentation hahahha
The problem is. Where is config file location. I don't see in documentation hahahha
I hope you found the config file location. For those who haven't yet. Base on my experience on Fedora, there's no config file after installing the scripts, you need to relaunch your terminal to refresh the system and enter spicetify that generates a config-xpu.ini a config file in the dir of /home/yourusername/.config/spicetify in which you can modify base on the instructions.