Giter Site home page Giter Site logo

auto run script. about spotify-adblock-linux HOT 16 CLOSED

abba23 avatar abba23 commented on May 30, 2024
auto run script.

from spotify-adblock-linux.

Comments (16)

tgw314 avatar tgw314 commented on May 30, 2024

I'm using a desktop entry like this without using a shell script

[Desktop Entry]
Type=Application
Name=Adblocked Spotify
GenericName=Music Player
Icon=spotify-client
TryExec=spotify
Exec=env LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify %U
Terminal=false
MimeType=x-scheme-handler/spotify;
Categories=Audio;Music;Player;AudioVideo;
StartupWMClass=spotify

I wish you good luck from Japan :)

from spotify-adblock-linux.

AllyPallies avatar AllyPallies commented on May 30, 2024

I can understand that but I’m really looking for a auto run option for it to auto run on boot. No need to click anything.

from spotify-adblock-linux.

tgw314 avatar tgw314 commented on May 30, 2024

/home/[username]/.config/autostart
I think it will automatically start if you put it here

from spotify-adblock-linux.

AllyPallies avatar AllyPallies commented on May 30, 2024

I have KDE and it’s not working. I’ve tried all I know of for it to work with no luck at all.

from spotify-adblock-linux.

tgw314 avatar tgw314 commented on May 30, 2024

https://wiki.archlinux.org/index.php/KDE#Autostart
I think this will be helpful

from spotify-adblock-linux.

AllyPallies avatar AllyPallies commented on May 30, 2024

Yea I’ve read that and still doesn’t help the preload issue, I’ve also LS’d the file and it doesn’t exist either. I don’t understand but if you look at my original post you’ll see I’ve already done everything that site told you to do. So I’m a little confused why you posted a link without looking at what I’ve done already.

from spotify-adblock-linux.

tgw314 avatar tgw314 commented on May 30, 2024

Does changing the permissions on the list of things you have done?

from spotify-adblock-linux.

AllyPallies avatar AllyPallies commented on May 30, 2024

Yep. I’ve done all that also made it executable. Chmod the file as well. No luck.

from spotify-adblock-linux.

tgw314 avatar tgw314 commented on May 30, 2024

There seems to be nothing I can do other than recommend Budgie Desktop.
Sorry for not helping you.

from spotify-adblock-linux.

abba23 avatar abba23 commented on May 30, 2024

I’ve also LS’d the file and it doesn’t exist

How did you install it?

  • If you did it manually, as described in the readme, then /usr/local/lib/spotify-adblock.so is the correct path. Make sure you actually ran make install (with eleveated privileges), not just make.
  • If you used the AUR package, then the path is /usr/lib/spotify-adblock.so (no local!) instead, because that's where libraries that are managed by the package manager belong.

from spotify-adblock-linux.

AllyPallies avatar AllyPallies commented on May 30, 2024

I did a file lookup and the app couldn’t find it.

from spotify-adblock-linux.

abba23 avatar abba23 commented on May 30, 2024

So you're saying the file is in neither of those locations? It seems the problem is a failed installation then, rather than a mistake in your autorun script.

Again, how exactly did you install it? Did you run the commands exactly as they are in the readme? Were there any error messages?

from spotify-adblock-linux.

AllyPallies avatar AllyPallies commented on May 30, 2024

If I load the load command in a terminal it works perfectly as I’ve saod before In my first post. So therefor it’s installed correctly. Also installed via AUR pacman.

from spotify-adblock-linux.

abba23 avatar abba23 commented on May 30, 2024

If I load the load command in a terminal it works perfectly as I’ve saod before In my first post

You didn't say that in your first post. You really just posted your one-liner script and stated that you're "having some issues" with it.

installed via AUR pacman

Then the file should be at /usr/lib/spotify-adblock.so, as I said above. Is it there? Does it work if you change the path in your script accordingly?

from spotify-adblock-linux.

AllyPallies avatar AllyPallies commented on May 30, 2024

Negative, I’ve tried both ways without any luck at all. If I load it via the normal command in thermal is works flawlessly but my auto run script keeps failing. Also I’ve noticed once and a while adds are coming threw. How’s that possible?

from spotify-adblock-linux.

abba23 avatar abba23 commented on May 30, 2024

If I load it via the normal command in thermal is works flawlessly
I’ve noticed once and a while adds are coming threw

So it isn't actually working flawlessly?

How’s that possible?

It isn't. Again, did you verify that the file is actually there? Can you try reinstalling it both through the AUR and manually (as described in the readme), and check if the file exists after that?

For what it's worth, I just ran your script and it's working fine for me. The problem must be somewhere on your end.

from spotify-adblock-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.