Skip to content

dsvi/power-gadget

Repository files navigation

Indicator for Ubuntu's default Unity shell, showing the current CPU/GPU power consumption by modern intel processors. The source code is in public domain.

screenshot

Building instructions

qwt

The gadget uses Qwt - Qt Widgets for Technical Applications. A framework to draw plots of different kind. Static linking against version 6.x is used. First, you have to get the qwt, unpack it, and change the qwtconfig.pri file in it's root directory. Comment out the lines:

#QWT_CONFIG           += QwtDll
#QWT_CONFIG     += QwtWidgets
#QWT_CONFIG     += QwtSvg
#QWT_CONFIG     += QwtOpenGL
#QWT_CONFIG     += QwtDesigner

Or you can download already patched qwt version here. To build qwt just go into the derictory where you have unpacked it and run:

qmake qwt.pro
make
sudo make instal

After which add the location where qwt.prf was installed to the qmake settings:

qmake -set QMAKEFEATURES ${QWT_ROOT}/features

Where ${QWT_ROOT} is normally something like /usr/local/qwt-6.1.1 in the case of ubuntu.

See the qwt install guide for additional documentation.

building .deb package

Just run the ./make-deb script from the root of the source tree.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published