5 releases
0.1.6 | Aug 3, 2024 |
---|---|
0.1.5 | Jul 26, 2024 |
0.1.3 | Jul 16, 2024 |
0.0.2 | Jun 18, 2024 |
0.0.1 | Jun 18, 2024 |
#150 in Unix APIs
146 downloads per month
125KB
3K
SLoC
SysD Manager
This application exists to easily allow user to manage their systemd units via a GUI. Not only are you able to make changes to the enablement and running status of each of the units, but you will also be able to view and modify their unit files and check the journal logs.
Features
Here are Sysd Manager main features :
- Enable or disable a unit
- Activate or desactivate a unit
- View and modify unit file
- List of all running units, ordered by the time they took to initialize systemd-analyze blame
Note if you need a feature communicate with the author or contribute to the project. If you're stuck take a look at systemctl.
Requirement
Any Linux distribution that has adopted systemd.
Screenshots
Credit
This project is inspired by the work of Guillaume Gomez https://github.com/GuillaumeGomez/systemd-manager/
Contributing
Contact me on my GitHub if you want to contribute to this project.
Project Roadmap
For now new features are planned to be added, such as:
- File list browser
- Non-blocking calls
- Syntax highlighting
- Always administrator mode
- Svec the window state
- Improve UX
- Better layout
- Follow Dark and Light syte switch
Installation Instructions
From your computer
For the moment:
- Download and install rust https://www.rust-lang.org/tools/install
- Install needed libraries (GTK4, ...)
- Install GTK 4 and the build essentials. https://gtk-rs.org/gtk4-rs/stable/latest/book/installation_linux.html
- Install dbus develelopment package
- Compile and run
cargo run
Install on RHEL, Fedora, and CentOS based distributions
You can install the application from COPR
Add the repo
First, you need to have dnf-plugins-core installed
sudo dnf install dnf-plugins-core
Then you can enable the repo with the following command
sudo dnf copr enable plrigaux/sysd-manager
Install with dnf
Then you can simply install sysd-manager with the following command
sudo dnf install sysd-manager
Generate RPM for copr
1 be in the mock group Add your user name to the mock group
sudo usermod -a -G mock <my user name>
Generate a RPM localy
You can generate youe rpm localy with the help of the crate cargo-generate-rpm
.
Install
cargo install cargo-generate-rpm
Usage
cargo build --release
strip -s target/release/sysd-manager
cargo generate-rpm
Install with dnf
Then you can install sysd-manager with the following command
Don't forget to ajust the the rpm file path
sudo dnf localinstall target/generate-rpm/sysd-manager[version-release-arch].rpm
Setup
cargo install cargo-generate-rpm
Usage
Run the following script.
sh ./create_rpm
It will create a rpm file in the target/generate-rpm subdirectory.
Flatpack
For now Flatpack is too restrictive
Install the builder
flatpak install org.flatpak.Builder
Possible issue
No remote refs found for ‘flathub’
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
APT
Later waiting for a contributor or when I will reinstall e Debian like distro
Dependencies
~26–38MB
~729K SLoC