Description: This is a simple plasma applet for KDE Plasma 5 to control systemd services. It is not designed to be a complete user interface for systemd, but it provides an convenient way to start and stop selected services.
For more details and installation instructions please have a look at the githup repository. All activity happens there.
Hello,
I would love to use this plasmoid, but can't get it up and running.
I tried to install it directly over "search mini programs", but I can't add it to desktop nor control bar (nothing happens after drag'n'drop it there).
Then I downloaded it from github and run your commands. I get:
CMake Error at process/cmake_install.cmake:55 (file):
file cannot create directory: /usr/lib/x86_64-linux-gnu/qt5/qml/Process.
Maybe need administrative privileges.
Call Stack (most recent call first):
cmake_install.cmake:58 (include)
Makefile:73: recipe for target 'install' failed
make: *** [install] Error 1
Do I have to run it as root?
I am on Kubuntu 18.04 (Final Beta) .
Hi, thanks for your feedback As far as I Know "search mini-programs" does not support this kind of plasmoid, but since the documentation is very bad I'm not sure about this. However, manual installation should work. You have to use sudo, yes.
Sorry for my dumb question, but I am quite new to this, so I have a lack of knowledge.
Now I have successfully 'sudo make install' it. And now? Should it already be available to add? Can't see it. What are the further steps? Do I have to keep the build folder or can I delete it?
You can delete the build folder.
You should be able to add the plasmoid to the desktop now. What do you see? After adding the plasmoid you won't see much. You have to go to the settings of the plasmoid and add the systemd services you'd like to control.
The result of the command was:
...
-- Up-to-date: /home/bernhard/Downloads/plasma-systemd-master/build/kf5-config/share/kservices5/plasma-applet-org.kde.systemd-control.desktop
-- Installing: /usr/lib/x86_64-linux-gnu/qt5/qml/Process/libplasmoidplugin.so
-- Set runtime path of "/usr/lib/x86_64-linux-gnu/qt5/qml/Process/libplasmoidplugin.so" to "/home/bernhard/Downloads/plasma-systemd-master/build/kf5-config/lib"
-- Installing: /usr/lib/x86_64-linux-gnu/qt5/qml/Process/qmldir
And I cant find Systemd Control in my "Add Plasmoid"
Hi Naraku,
the Widget is very nice and helpful. There is one thing, you can really change. Using the Widget in the control bar, it pops up as a window. I have added 10 services. Only the upper part of the window is used (showing 7 services) and a scrollbar is added. The lower menu is empty. Waste of space ... ;-)
Perhaps you can add to the Readme, what debian source packages are needed to compile the widget. Not a big thing, but even faster than try and error.
Some really minor things / ideas, if you have some time:
- make the control bar menu resizable
- change the order the services
Thank you very much, lutz
Hello lutz,
thanks for your comment. I've never used it in the control bar, surprising that this works out of the box. I'm on vacation till end of the year, but then I'll have a look at the issues.
Can you write down debian dependencies? Then I'll add it to readme.
Hello Naraku,
I installed the packages in the following order (perhaps due to dependencies not all packages needs to be provided).
- cmake
- linux-libc-dev
- build-essential
- extra-cmake-modules
- libkf5config-dev
- qt5-default
- qtdeclarative5-dev
Just another hint: download the code directly from github https://github.com/naraesk/plasma-systemd/ into a separate folder and follow the installation instructions from Naraku - this works for me at once. Downloading it via "search mini programs" into the ~/.local/share/plasma/plasmoids folder might mix up a few things.
Ciao, Lutz
Hi,
thank you. Seems to work.
I do not know how I did it. In the first version I add an icon (e.g. system-software-update). Now the taskbar is simply empty. Any ideas?
Also in the configuration menu the up- and down-Buttons do not have an icon or something. Something like ^ and v would be fine.
Last not least if I start a bigger VM the whole taskbar is blocked for the start time, e.g. 20-30 seconds. It is a good idea to run the systemdctl in the background.
Just a tip: after a few days of use I recognize that the sudo's spoil the auth.log (could increase 100 MB easily). I added to th sudoers file the following lines:
Defaults ! syslog
Defaults ! pam_session
This stops any logging by sudo. There might be a better way, but this works for me.
Ciao, Lutz
The plasmoid should haven an icon and the up- and down-buttons as well. Guess there is something broken with the icons. Maybe on your side, maybe on the add-on. Will try to find out.
The other things should be easy to fix. :)
Btw. I create in a Docker container Debian-Packages using checkinstall. If you are interested. Secondly I do not create a Dockerfile, but at least I have a brief description, which I also can provide.
Ciao, Lutz
Ratings & Comments
20 Comments
9 TY!
Hello, I would love to use this plasmoid, but can't get it up and running. I tried to install it directly over "search mini programs", but I can't add it to desktop nor control bar (nothing happens after drag'n'drop it there). Then I downloaded it from github and run your commands. I get: CMake Error at process/cmake_install.cmake:55 (file): file cannot create directory: /usr/lib/x86_64-linux-gnu/qt5/qml/Process. Maybe need administrative privileges. Call Stack (most recent call first): cmake_install.cmake:58 (include) Makefile:73: recipe for target 'install' failed make: *** [install] Error 1 Do I have to run it as root? I am on Kubuntu 18.04 (Final Beta) .
Hi, thanks for your feedback As far as I Know "search mini-programs" does not support this kind of plasmoid, but since the documentation is very bad I'm not sure about this. However, manual installation should work. You have to use sudo, yes.
Sorry for my dumb question, but I am quite new to this, so I have a lack of knowledge. Now I have successfully 'sudo make install' it. And now? Should it already be available to add? Can't see it. What are the further steps? Do I have to keep the build folder or can I delete it?
You can delete the build folder. You should be able to add the plasmoid to the desktop now. What do you see? After adding the plasmoid you won't see much. You have to go to the settings of the plasmoid and add the systemd services you'd like to control.
The result of the command was: ... -- Up-to-date: /home/bernhard/Downloads/plasma-systemd-master/build/kf5-config/share/kservices5/plasma-applet-org.kde.systemd-control.desktop -- Installing: /usr/lib/x86_64-linux-gnu/qt5/qml/Process/libplasmoidplugin.so -- Set runtime path of "/usr/lib/x86_64-linux-gnu/qt5/qml/Process/libplasmoidplugin.so" to "/home/bernhard/Downloads/plasma-systemd-master/build/kf5-config/lib" -- Installing: /usr/lib/x86_64-linux-gnu/qt5/qml/Process/qmldir And I cant find Systemd Control in my "Add Plasmoid"
Install looks good. Don't know why you can't see it. It should be listed as "Systemd Control". Best guess: restart :-)
Might be a bit late, but I just fixed this. Just have a look at the updated install instructions.
So many downloads, but no single comment or rating. Does it work for you?
Hi Naraku, the Widget is very nice and helpful. There is one thing, you can really change. Using the Widget in the control bar, it pops up as a window. I have added 10 services. Only the upper part of the window is used (showing 7 services) and a scrollbar is added. The lower menu is empty. Waste of space ... ;-) Perhaps you can add to the Readme, what debian source packages are needed to compile the widget. Not a big thing, but even faster than try and error. Some really minor things / ideas, if you have some time: - make the control bar menu resizable - change the order the services Thank you very much, lutz
Hello lutz, thanks for your comment. I've never used it in the control bar, surprising that this works out of the box. I'm on vacation till end of the year, but then I'll have a look at the issues. Can you write down debian dependencies? Then I'll add it to readme.
Hello Naraku, I installed the packages in the following order (perhaps due to dependencies not all packages needs to be provided). - cmake - linux-libc-dev - build-essential - extra-cmake-modules - libkf5config-dev - qt5-default - qtdeclarative5-dev Just another hint: download the code directly from github https://github.com/naraesk/plasma-systemd/ into a separate folder and follow the installation instructions from Naraku - this works for me at once. Downloading it via "search mini programs" into the ~/.local/share/plasma/plasmoids folder might mix up a few things. Ciao, Lutz
New version 1.1.0 is now available! Please have a look at it, it should fix the mentioned issues.
Great. I will try to test it within this week. Thanks, Lutz
Hi, thank you. Seems to work. I do not know how I did it. In the first version I add an icon (e.g. system-software-update). Now the taskbar is simply empty. Any ideas? Also in the configuration menu the up- and down-Buttons do not have an icon or something. Something like ^ and v would be fine. Last not least if I start a bigger VM the whole taskbar is blocked for the start time, e.g. 20-30 seconds. It is a good idea to run the systemdctl in the background. Just a tip: after a few days of use I recognize that the sudo's spoil the auth.log (could increase 100 MB easily). I added to th sudoers file the following lines: Defaults ! syslog Defaults ! pam_session This stops any logging by sudo. There might be a better way, but this works for me. Ciao, Lutz
The plasmoid should haven an icon and the up- and down-buttons as well. Guess there is something broken with the icons. Maybe on your side, maybe on the add-on. Will try to find out. The other things should be easy to fix. :)
Icons: they simply do not exist on my system (debian stretch). You should deliver them. I have at least a workaround. Ciao, Lutz
Hm, strange. I'm not very familiar with icon handling, but I thought I'm just using kde default icons that should be available on every system.
Do you have breeze-icon-theme installed?
Btw. I create in a Docker container Debian-Packages using checkinstall. If you are interested. Secondly I do not create a Dockerfile, but at least I have a brief description, which I also can provide. Ciao, Lutz