plasmaCpuFreqUtility
Plasma 4 Extensions
Simple plasmoid for change frequencies of processors, enabling or disabling them.
Plasmoid needs polkit-1, d-bus.
May need to configure SELinux.
Dependencies:
PyQt4
PyKDE4
Installation:
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
make
su -c \'make install\'
(building correct for Fedora)
5 years ago
v.1.4.1 :
fixed cpu info store to dict;
v.1.5 (final):
some fixes;
v.1.6 :
added 'First For All' mode setting;
5 years ago
v.1.4.1 :
fixed cpu info store to dict;
v.1.5 (final):
some fixes;
v.1.6 :
added 'First For All' mode setting;
openDesktop.org :
Kaktuss
3 years ago
Thank You very much indeed!
I really need a workable non-console utility to change cpu frequency for KDE 4 OpenSuse 13.1. And I was searching it for a long time. I tried applets for cpufrequtils that do not work in my system or adjust only one core like CpuFreqTray-0.9. But Your plasmoid is not only workable for all cores. Your plasmaCpuFreqUtility is the best from all cpu frequency regulators that I can find. It even has a very useful autorun option. The best functional and the best design of cpu regulators that I have ever seen. Now my notebook can be not so hot.
Thank You very much indeed!
Report
dmnmsc
4 years ago
Report
dmnmsc
4 years ago
Report
dmnmsc
4 years ago
Report
wingnux
5 years ago
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/wingnux/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:7 (find_package)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
Report
F1ash
5 years ago
Report
wingnux
5 years ago
Report
F1ash
5 years ago
Report
tittiatcoke
5 years ago
Report
F1ash
5 years ago
Report
Deathmachine
5 years ago
Can you please add a option to change cpu-freq policy for all CPUs?
Report
F1ash
5 years ago
Report
F1ash
5 years ago
Report
Deathmachine
5 years ago
Report
warrob
5 years ago
I installed the plasmoid from the kde-files service on my debian-sid machine. It says twice:
KAuth returned an error code: 3
and then appears the square orange button that says "error" when pressed.
I haven't compiled nothing, just installed from plasma service.
Report
F1ash
5 years ago
In Ubuntu : kdelibs5-dev ( https://github.com/F1ash/plasmaCpuFreqUtility/issues/1 ).
In Debian : I don`t know. It`s may be kdelibs5-dev or similar.
Report
warrob
5 years ago
Besides, I think it's wrong to let install a plasmoid without making the user aware of the missing packages or automatically installing them.
Also, installing kdelibs-dev requires tens dependencies of dev-packages. All that stuff for a plasmoid? Isn't there any better way? Why the other plasmoids don't need compiling and all that dependecies?
thanks
Report
F1ash
5 years ago
You can write a spec for Debian, and I will add it.
Report
stathisq
6 years ago
I'm still having this problem:
This object could not be created for the following reason:
Can't open the package kde-plasma-cpufrequtility requested by the object CPUFreq Utility.
I have read the answers above,but I cannot find out how to make it work...I'm using Arch Linux...Has anyone made it to work...
Btw thank you about this really useful plasmoid...
//sorry about my poot English...
Report
F1ash
6 years ago
Report
gzu
6 years ago
I'm also getting a script initialisation error in Fedora 15, I think I have all the dependencies satisfied see error below
plasmoidviewer(28721)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasmoidviewer(28721)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 75, in init
self.pyapplet.init()
File "/usr/share/kde4/apps/plasma/plasmoids/kde-plasma-cpufrequtility/contents/code/main.py", line 138, in init
self.Control = ControlWidget(self.ProcData, self, os.path.dirname(self.iconPath))
File "/usr/share/kde4/apps/plasma/plasmoids/kde-plasma-cpufrequtility/contents/code/main.py", line 262, in __init__
enabled = int(self.ProcData['online'][i].data()[QString('contents')].toString().replace('\n', ''))
KeyError: 1
Thanks for what looks like a great plasmoid.
Report
F1ash
6 years ago
Report
F1ash
6 years ago
Report
gzu
6 years ago
Has the code been updated it looks like I'm getting the same errors. I have a 6 core CPU.
plasmoidviewer(4741)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasmoidviewer(4741)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 75, in init
self.pyapplet.init()
File "/usr/share/kde4/apps/plasma/plasmoids/kde-plasma-cpufrequtility/contents/code/main.py", line 138, in init
self.Control = ControlWidget(self.ProcData, self, os.path.dirname(self.iconPath))
File "/usr/share/kde4/apps/plasma/plasmoids/kde-plasma-cpufrequtility/contents/code/main.py", line 262, in __init__
enabled = int(self.ProcData['online'][i].data()[QString('contents')].toString().replace('\n', ''))
KeyError: 1
Thanks for helping,
gzu
Report
F1ash
6 years ago
/usr/share/kde4/apps/plasma/plasmoids/kde-plasma-cpufrequtility/contents/code/main.py
now in line 98-99 :
procData['online'] = {}
for i in present : procData['online'][int(i)] = readCpuData(str(i), 'online')
If code is changed, but a bug is stay, then I will make the debug-version for you.
Report