
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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!
13 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")
13 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
12 years ago
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
12 years ago
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
13 years ago
http://rapidshare.com/files/62084186/CpuFreqTray-0.9-Cpp.tar.gz
Report
ciaraan
13 years ago
Report
sebbe1991
13 years ago
http://rapidshare.com/files/62735371/CpuFreqTray-0.9.1.tar.gz
Report
ciaraan
13 years ago
Report
catanzag
12 years ago
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
13 years ago
Report
ciaraan
13 years ago
Report