-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spotify flatpak fix #112
Comments
--env="LD_PRELOAD=/path/to/adblock.so" might work also? |
This doesn't load the adblocker since you set the command directly to the spotify binary. For me the fix was to download the prebuilt binary instead of building it myself. |
Yeah, maybe I got it wrong.
|
I don't use Flatpak, so I can't test this. Can someone confirm that the path has changed, the current instructions in the README are broken and
definitely works without breaking anything else (e.g. by overriding |
@abba23 Hey I did test it out on 2 of my Fedora computers running flatpak and it runs fine but doesnt block ads |
same here on archlinux commandline:
|
You need to whitelist ~/.spotify-adblock with flatseal |
@pizzadude thanks! seems to be working fine now |
@pizzadude that was it :) thanks! |
I'm only managing to start from the command line ( As Spotify is installed as a system-wide flatpak, I've tried patching both So which even is the right .desktop file to patch? And are the instructions on the README still valid? Regarding this:
you can also use the commands mentioned in the README if you don't want to bother with Flatseal (which is a great app, in any case): They do the same thing. |
I greatly appreciate it! |
One year after you asked, on a fresh Arch install, this command is working for me while the one in the readme gave "command not found". Unlike the other poster, I am not seeing ads. |
Don't know what happened, but I had to change it to
to get it working again. Haven't used it in a couple weeks so I can't say when the issue first occurred. Other than a couple system updates (pacman -Syu), I haven't changed anything. I guess I did install STEAM flatpak which is currently running if that matters. I was getting the same error as @alsoGAMER and also running Arch. |
The actual spotify binary is in a different folder, so people may need to run spotify flatpak with something like this:
flatpak run --command=/app/extra/share/spotify/spotify --env="LD_PRELOAD=/home/user/.spotify-adblock/spotify-adblock.so" com.spotify.Client
The text was updated successfully, but these errors were encountered: