Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.7

Available as/for:
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:

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")


Ratings & Comments

9 Comments

nawcom

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.

catanzag

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

sebbe1991

I ported this application to C++ http://rapidshare.com/files/62084186/CpuFreqTray-0.9-Cpp.tar.gz

ciaraan

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

sebbe1991

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

ciaraan

Updated C++ distro.

catanzag

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

Filozof

What are the dependences? And how to install it?

ciaraan

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

Pling
0 Affiliates
Details
license
version 0.9
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

Other System Tools (NOT OS or ROMS):

KDE CDEmu Manager
marcel83
last update date: 1 year ago

Score 7.0

QPhotoRec
caezsar
last update date: 11 years ago

Score 5.7

Burg-manager
ingalex
last update date: 14 years ago

Score 7.4

Multi-Platform File Manager
Lunik
last update date: 21 years ago

Score 5.0

KFS
jrockey
last update date: 21 years ago

Score 5.0

dolphin-perforce-plugin
martin9000andersen
last update date: 11 years ago

Score 5.0



System Tags