Git Product home page Git Product logo

kde-system76-power's Introduction

System76 Power KDE

KDE plasmoid to control the power profile of the system76-power daemon.

Preview

Install

Installing requires C++ build and some system dependencies:

Build libraries

The set of required libraries in KUbuntu to build this plasmoid is:

  • extra-cmake-modules - this contains the CMake build scripts for KDE.
  • qtbase5-dev - the base QT5 development libraries.
  • qtdeclarative5-dev - the QT5 QML development libraries (to export the native QML plugin to the plasmoid itself).
  • libkf5plasma-dev - this contains the CMake tools to build and install plasmoids.

Build tools

Additionally, the following tools are required to build:

  • make or ninja-build - the build system.
  • cmake - the build generator used in all KDE software.
  • g++ - the actual C++ compiler.

Debug

To debug this plasmoid, use plasmoidviewer from plasma-sdk.

Building and installing

To build and install the plasmoid, run the following:

mkdir cmake-build-release
cd cmake-build-release
cmake .. -DCMAKE_BUILD_TYPE=Release
sudo make install
  • You can now find the new "System76 Power" plasmoid in KDE widget selector.

To build the plasmoid for debugging, run the following:

mkdir cmake-build-debug
cd cmake-build-release
cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install
make
make install
  • To run the plasmoid in this configuration, the easiest way is through pasmoidviewer.

Use

To use the plasmoid once installed, add it to one of your KDE panels. The plasmoid shows itself as a small power icon. The power profile can be changed after opening the plasmoid.

kde-system76-power's People

Contributors

skrimix avatar yuri6037 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.