cli icon indicating copy to clipboard operation
cli copied to clipboard

Trying to make it work on Flatpak

Open sai-sec opened this issue 7 years ago • 8 comments

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 ?

sai-sec avatar Apr 12 '19 14:04 sai-sec

  1. 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/

image

  1. Set spotify_path in config file to that directory: image

  2. 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/
  1. Happy customizing!

khanhas avatar May 11 '19 01:05 khanhas

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

rien333 avatar Jun 04 '19 11:06 rien333

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!

fourstepper avatar Apr 22 '20 12:04 fourstepper

~/.var/app/com.spotify.Client/config/spotify/prefs

AzizStark avatar May 13 '20 15:05 AzizStark

~/.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.

lucaliceti avatar Dec 09 '22 04:12 lucaliceti

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

adityakrcodes avatar Dec 16 '22 15:12 adityakrcodes

The problem is. Where is config file location. I don't see in documentation hahahha

BitterBlackCoffee avatar Sep 15 '23 00:09 BitterBlackCoffee

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.

GinoongFlores avatar Jan 27 '24 12:01 GinoongFlores