CpuFreq Tray
System Software
Score 59%
Description:

CpuFreqTray is an extremely simple application, written in Python + PyQt 4.0 to monitor and control your Cpu's frequency using cpufreq-utils (the sysfs flavour!) It's really simple to use. Just make sure to execute it within its own directory (it cannot find icons in global paths yet!), or to set it's working directory to it's root path when you create a launcher.

I borrowed KDE's CrystalSVG exit icon, btw!
Last changelog:

9 years ago

This applies to the Python Distrib:


CpuFreqTray needs Python 2.4 (or newer), Qt 4.1.x (or newer),PyQt4 4.1.x (or newer) and Cpufrequtils (the ones which use SysFS). Currently there is no installer, all you need to do is extract the tar.bz2 which will create a directory for you. execute cpufreq.py from inside that directory, since it cannot find it's icons yet. If you create a quicklauncher with your KDE, make sure to set the working directory to this directory to get the icons.


=--------------=
This applies to the C++ Distrib:

qmake
make
sudo make install (or su -c "make install")

nawcom

9 years ago

looks like you have it set up to run as root everytime (via the .desktop file; X-KDE-username=root) - so as a normal user you have to enter in the root pw every time you run it.

if you remove the user requirement from the desktop file and set up the file to give the user elevated rights to run it
(chmod +s /usr/local/bin/CpuFreqTray) - that way it won't ask for a password.

From what I know you can't set up an option to make the Makefile that qmake generates so that a file is setuided. I might be wrong though; I only have qt3 background.


Report

catanzag

9 years ago

You can eventually setuid the cpufreq-set and cpufreq-info programs, leaving the CpuFreqTray application at user level.

This advice I found some time ago for cpufreq-selector for Gnome in Ubuntu when gnome cpu freq scaling applet didn't work correctly.

But again (as you) I don't know how to automatically do this via Makefile.

regards

Report

sebbe1991

9 years ago

I ported this application to C++

http://rapidshare.com/files/62084186/CpuFreqTray-0.9-Cpp.tar.gz

Report

ciaraan

9 years ago

I'm adding this to the distro. Nice work Sebastien. :) Thanks. :)

Report

sebbe1991

9 years ago

Updated the C++ version, added a .desktop file so the application can be started from kmenu and added the install portions to the qmake-file. And the icons in the application now gets embedded into the executable when compiling.

http://rapidshare.com/files/62735371/CpuFreqTray-0.9.1.tar.gz

Report

ciaraan

9 years ago

Updated C++ distro.

Report

catanzag

9 years ago

Very nice application, thank you!!! When I moved to kde 4, I missed something similar to Gnome CPU Frequency applet and now I can have it!!!

I also tightly customized it for my 1.7 GHz Pentium 4M processor with a look similar to its Gnome counterpart, mainly only two icons (for low/high freq) and the ActionGroup for all the choices; I added the Conservative governor and setuid to /usr/bin/cpufreq-* executables too. So, for now, I DON'T RECOMMEND as it is for general usage, as its governors/frequencies are hardwired inside and not taken from /sys filesystem, but if somebody wants to have a look, it can be found in http://catanzag.googlepages.com/CpuFreqTray-0.9.2-P4M1.7.tar.gz

Maybe sometimes in the future I will have some spare time to write down a more general version, it could be a good chance to improve my knowledge on qt4...

regards

Report

Filozof

9 years ago

What are the dependences? And how to install it?

Report

ciaraan

9 years ago

Ok. Sorry, I'll put this up on the description, check it out! ^^

Report

9 years ago

This applies to the Python Distrib:


CpuFreqTray needs Python 2.4 (or newer), Qt 4.1.x (or newer),PyQt4 4.1.x (or newer) and Cpufrequtils (the ones which use SysFS). Currently there is no installer, all you need to do is extract the tar.bz2 which will create a directory for you. execute cpufreq.py from inside that directory, since it cannot find it's icons yet. If you create a quicklauncher with your KDE, make sure to set the working directory to this directory to get the icons.


=--------------=
This applies to the C++ Distrib:

qmake
make
sudo make install (or su -c "make install")

product-maker unikum111 May 28 2011

product-maker 8 13

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.9
updated Oct 18 2007
added Oct 11 2007
downloads today
0
page views today 1