Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.67 KB

README.md

File metadata and controls

41 lines (31 loc) · 1.67 KB
Logo
CCTK BatteryCfg

Dell® CCTK BatteryCfg

KDE Plasma widget to manage primary battery configuration using Dell Client Configuration Toolkit (CCTK).

Install

Dependencies

  • 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.

From KDE Store

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.

Manually

  • Download/clone this repo.
  • Run from a terminal the command plasmapkg2 -i [widget folder name].

Root even to breathe

The CCTK tool requires root privileges even to read the status of an option.

If you want to avoid this:

  1. 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?).
  2. Go to the widget settings and disable the "I need sudo" option.

Disclaimer

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.

Screenshots