this post was submitted on 16 Nov 2024
25 points (90.3% liked)

Linux

8291 readers
554 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

I know the above question isn't fully complete and lacks some important information, I will (hopefully) provide that below, but first I want to explain where I am coming from with this question a little.

I would consider myself a power user in Windows (maybe even more than that). At one point I was even studying for my Microsoft Certified System Administrator (MCSA 70-270), worked in IT dealing with complex virus removal (anyone remember Combofix and Bleeping Computer?) and generally am comfortable bending anything up to about Windows 10 to my will.

I also have some experience programming in .Net, Java, Python, and Arduino's version of C++ (FWTW).

I have been trying to force myself to use Linux as my primary for a little while now. I ran Mint as my primary OS for a little over a year, and have recently switched to Manjaro to try Wayland and "increase the difficulty level" as it were.

The problem that motivated this post is that I recently installed an application via the AUR by cloning and making the package. Annoyingly though, the application is configured to run at startup and I don't see an obvious setting in the application to turn that behavior off.

I know I can "Google" how to figure out this particular problem, but it seems like a good opportunity for me to metaphorically learn how to fish rather than being given a fish by learning the Linux equivalent of what I would do in Windows for this kind of thing.

If I had this issue in Windows I would approach the issue in the following manner:

  1. Depending on flavor of Windows do one of the following and check the autostart tab
    • Run MSConfig
    • Run Task Manager
  2. Check the Startup folder for my User and All Users
  3. Pull out the "I'm done messing around tools"

I understand, and know the various locations and registry entries the applications from step 3 are looking at, it's just usually faster to use them than go digging into those locations individually.

My question therefore is, what is the Linux equivalent of the methodology I would use when in Windows? Is, or are there, specific tools for looking at startup programs and services? Is it as simple as digging into Systemd? Am I approaching this with the completely wrong mindset?

Essentially, what am I ignorant of, and can I that ignorance be rectified using my existing knowledge as a framing device?

Regardless of anything else, I very much appreciate your taking the time to read all of this and thank you in advance if you do have the time and knowledge to spare answering this question.

Cheers!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 month ago* (last edited 1 month ago)

Edit: This is a much simplified GUI startup (not boot or system services) application manager

gnome-startup-applications

The Startup Applications Preferences app allows configuring applications to run automatically when logging in to your desktop. This app complies with the FreeDesktop.org Desktop Application Autostart Specification so it will work even if your chosen desktop is not GNOME.

*to enable and disable system or other services on startup, you'll have to familiarize yourself with the systemctl command


systemd-analyze blame

And

systemd-analyze critical-chain

https://trstringer.com/systemd-critical-chain/

https://commandmasters.com/commands/systemd-analyze-linux/