Coder Social home page Coder Social logo

Comments (8)

petres avatar petres commented on August 17, 2024

Ok, will implement it, what would be the best way? Adding a checkbox to the add formular?

from gnome-shell-extension-services-systemd.

freijon avatar freijon commented on August 17, 2024

Great! :) Yes, I think that would be the best solution

from gnome-shell-extension-services-systemd.

freijon avatar freijon commented on August 17, 2024

Maybe instead of a checkbox you could check if the .service file lies at /usr/lib/systemd/user and then automatically run it with the --user argument?

from gnome-shell-extension-services-systemd.

petres avatar petres commented on August 17, 2024

Yeah, that would be also a possibility, which folders can contain user services? The arch docu lists:

  • ~/.config/systemd/user/,
  • /etc/systemd/user/,
  • ~/.local/share/systemd/user/
  • /usr/lib/systemd/user

But maybe there exist other location in other distros.

from gnome-shell-extension-services-systemd.

freijon avatar freijon commented on August 17, 2024

I'm on Arch as well, don't know if the paths differ for other distributions. I could check on my Xubuntu virtual machine in the evening. I would start with the paths you listed.

from gnome-shell-extension-services-systemd.

freijon avatar freijon commented on August 17, 2024

It's the same for Xubuntu

from gnome-shell-extension-services-systemd.

petres avatar petres commented on August 17, 2024

Done, I tried to do it without folders, please test it! The arch package has already been updated!

from gnome-shell-extension-services-systemd.

freijon avatar freijon commented on August 17, 2024

Seems to work great so far, it even detected an existing entry as "user" and handles it as such. Great work! I'll keep testing. Thanks for your quick response!

from gnome-shell-extension-services-systemd.

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.