I installed Spotify from the AUR, and unfortunately the ad blockers on the AUR are not so reliable. There is an ad blocker I use for my macOS client that works great, and I just noticed they also have it for Linux. When I go to the GitHub page and try the installation command, it doesn’t work. Something about a zip file missing. Excuse my ignorance, as I am still fairly new to Linux and am I wondering if anyone can help me figure out how I can apply this ad blocker to the AUR Spotify. Thanks!
Okay the zip install got me past that so kudos on that. But now I get this response:
> bash <(curl -sSL https://raw.githubusercontent.com/SpotX-CLI/SpotX-Linux/main/install.sh)
>
> **************************
> SpotX-Linux by @SpotX-CLI
> **************************
>
> SpotX-Linux version: 1.2.3.1115-1
>
>
> Spotify PATH is set to /usr/bin, searching for Spotify directory...
> Spotify directory not found. Set directory path with -P flag.
> Exiting...
Edit: Okay, I see there’s two -P flags. The one I need to use is obvious, but what would be the Spotify directory? Yes, I know, it’s a newbie question. Forgive me for being slow right now and not remembering what I’ve learned in recent months.
Hmmm, I’m not familiar with Spotify - I’ve never used it - but looking at the spotify PKGBUILD it looks like it installs the Spotify directory to /opt (lines 79-81).
So, how about trying installing SpotX while specifying the path with -P, like this: