You are not logged in.

#1 2022-12-26 16:28:49

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 173
Website

[SOLVED] How to run spotify adblocker with spotify

Hi! Newbie here. I just installed spotify from the aur. I recently found a great adblocker for spotify in the aur. I want the adblock application to execute whenever I launch the spotify application. Is there a way to do it ?

Last edited by RounakDutta (2023-01-18 16:27:54)

Offline

#2 2022-12-26 16:33:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] How to run spotify adblocker with spotify

Moving to AUR issues.   How to you run them now?  If from the command line, just create a script or an alias.   If from a .Desktop file, you would need to customize that file.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2022-12-28 18:13:27

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 173
Website

Re: [SOLVED] How to run spotify adblocker with spotify

ewaller wrote:

Moving to AUR issues.   How to you run them now?  If from the command line, just create a script or an alias.   If from a .Desktop file, you would need to customize that file.

How do I create a script and in which directory should I create it ?

Offline

#4 2022-12-29 10:58:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,409

Re: [SOLVED] How to run spotify adblocker with spotify

Spotify Adblock ships with a desktop file that does exactly this, is this not what you want? Other than that, the way to invoke it from the commandline by looking at said desktop file would be

env LD_PRELOAD=/usr/lib/spotify-adblock.so spotify

Last edited by V1del (2022-12-29 11:00:00)

Offline

Board footer

Powered by FluxBB