CCTK BatteryCfg
KDE Plasma widget to manage primary battery configuration using Dell Client Configuration Toolkit (CCTK).
- One of the following tools is required for notifications to work. Note that in many distros at least one of the two is installed by default, check it out.
- notify-send - a program to send desktop notifications.
- zenity - display GTK+ dialogs.
You can find it in your software center, in the subcategories Plasma Addons > Plasma Widgets
.
Or you can download or install it directly from the KDE Store website.
- Download/clone this repo.
- Run from a terminal the command
plasmapkg2 -i [widget folder name]
.
The CCTK tool requires root privileges even to read the status of an option.
If you want to avoid this:
- Allow CCTK (
/opt/dell/dcc/cctk
) to run with root privileges without a password prompt (How to run a specific program as root without a password prompt?). - Go to the widget settings and disable the "I need sudo" option.
I'm not a widget or KDE developer, I did this by looking at other widgets, using AI chatbots, consulting documentation, etc. So use it at your own risk. Any recommendations and contributions are welcome.