Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petres/gnome-shell-extension-services-systemd
Gnome Shell Extension that allows to start and stop systemd services
https://github.com/petres/gnome-shell-extension-services-systemd
gnome gnome-shell-extension systemd
Last synced: 5 days ago
JSON representation
Gnome Shell Extension that allows to start and stop systemd services
- Host: GitHub
- URL: https://github.com/petres/gnome-shell-extension-services-systemd
- Owner: petres
- Created: 2016-01-31T02:57:04.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-02-04T00:46:42.000Z (almost 4 years ago)
- Last Synced: 2024-08-01T12:33:44.109Z (3 months ago)
- Topics: gnome, gnome-shell-extension, systemd
- Language: JavaScript
- Size: 296 KB
- Stars: 77
- Watchers: 8
- Forks: 18
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - petres/gnome-shell-extension-services-systemd - Gnome Shell Extension that allows to start and stop systemd services (others)
README
# Services Systemd
## About
Services Systemd is a [Gnome](https://www.gnome.org/) Shell Extension which
allows to start and stop systemd services via a menu in the status area in the
main menu panel. As there exists all a lot of irrelevant systemd services - in
the sense of being displayed in this menu - the user can preselect which
services should be shown in the preference dialog of the extension.![Screenshot](https://raw.githubusercontent.com/petres/gnome-shell-extension-services-systemd/master/img/services-systemd.png)
## Install
### Gnome Shell Extensions Page
The easiest way to install this extension is via the official [Gnome Shell Extensions](https://extensions.gnome.org) resource page: https://extensions.gnome.org/extension/1034/services-systemd/### Arch Linux
For Arch Linux the AUR package [gnome-shell-extension-services-systemd-git](https://aur4.archlinux.org/packages/gnome-shell-extension-services-systemd-git/) is provided.## Authorization
Done via a password prompt from the command `pkexec` of the polkit package.
This command usually pops up a graphical password prompt.### Without Password Prompt
#### Using pkexec (default)
In the recent versions of this extension the authorization is done by `pkexec`
(before via `gksu`). Therefore if you would like to be able to start systemd
services without getting prompted for a password, you will have to configure a
polkit policy. The policy file [org.freedesktop.policykit.pkexec.systemctl.policy](org.freedesktop.policykit.pkexec.systemctl.policy)
would allow the execution of `systemctl [start|stop]` without a password
confirmation. Simple copy the file in your polkit policy folder (usually:
`/usr/share/polkit-1/actions`).#### Using systemctl
You can also choose to use `systemctl` natively and bypass a password prompt.To do this, add the policy file
[10-service_status.rules](10-service_status.rules) to `/etc/polkit-1/rules.d`.Feel free to change the `wheel` group noted in the file to any other group that
you see fit.## Future
**Planned additional functionality:**
* Separators/Groups
* Adjustable systemd folders
* Other services## Credits
Some parts have been taken from the gnome extension [Services](https://github.com/hjr265/gnome-shell-extension-services).## License
[GPLv3](http://www.gnu.org/licenses/gpl-3.0.en.html)