this post was submitted on 17 Dec 2024
334 points (97.7% liked)
Linux
48634 readers
1809 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I've been thinking about a "create new service" feature but I'm not sure about two things: 1.how useful it can be 2.how to implement this to actually make life easier for end users
Adding a generic template would not be difficult.
I would absolutely use it. In fact creating and editing services would be the primary selling point IMO. It doesn't need to be much "easier" than doing it in the terminal or file explorer, to me the primary benefit would just be the ease of use of creating, loading, and starting a new service all in one place.
I think a generic template would be great.
You could turn the whole thing into a giant GUI settings screen, allowing navigation to an exectuable, after which you could provide some of the most typical options as sliders, number fields, switches, or whatever is suitable. But that would be a large amount of work, and I'm not sure it would simplify things much.
The starting point should just be a text field, but with a link to the service file docs for help/reference.
Brilliant thanks for your feedback and thoughts. Will look into this.
As far as i can tell a full gui for systemd service files would be practically impossible. But a template ui would be sick, maybe something like an app autostart template could look like this:
Just spitballing here though.
And the RestartSomethingInterval=0 option so systemd keeps restarting the program like an obedient machine it should be, not give up because it's tired
Even if the new service is "just" a text field for code + the name of the service. If it saves it in the right location for you its useful. Not having to fiddle with that stuff as an end user is nice.
Making life easier for end users means more documentation about what you are doing. I mean that's the main difference between Commandline and a GUI.
Oh look Avahi Service, let's stop it, what does it mean to stop it.
Creating a new Service, sure but what is needed, are there examples? Formfill lines with a hint what's needed, maybe some dropdown entries?
You got what I mean.
Just having something that shows the field options and formats it correctly would be fantastic. Tooltips and all that could be added later to lower the bar of entry for new users.