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. First install, to load it digit in consolle CpuFreqSystemTray. It's really good starting the app at the login!Last changelog:
Version 1.1: First release Version 1.2: Added multi CPUs support, added Conservative mode.
Get an error when running from terminal?:
Traceback (most recent call last):
File "/usr/bin/CpuFreqSystemTray", line 114, in <module>
main();
File "/usr/bin/CpuFreqSystemTray", line 108, in main
checkCurrentState();
File "/usr/bin/CpuFreqSystemTray", line 35, in checkCurrentState
governor = str(data.split(" ")[2])[:-1];
IndexError: list index out of range
Segmentation fault
elfaure@linuxmint-KDE:~ > CpuFreqSystemTray
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Traceback (most recent call last):
File "/usr/bin/CpuFreqSystemTray", line 114, in <module>
main();
File "/usr/bin/CpuFreqSystemTray", line 108, in main
checkCurrentState();
File "/usr/bin/CpuFreqSystemTray", line 35, in checkCurrentState
governor = str(data.split(" ")[2])[:-1];
IndexError: list index out of range
Segmentation fault
[139]elfaure@linuxmint-KDE:~ > cpufreq-info -p
[234]elfaure@linuxmint-KDE:~ >
The problem is that the program expects the command cpufreq-info -p return this:
marco@ACER:~/Documents$ cpufreq-info -p
2667000 2667000 ondemand
So when it try to get the third word there is an error.
Ratings & Comments
11 Comments
Get an error when running from terminal?: Traceback (most recent call last): File "/usr/bin/CpuFreqSystemTray", line 114, in <module> main(); File "/usr/bin/CpuFreqSystemTray", line 108, in main checkCurrentState(); File "/usr/bin/CpuFreqSystemTray", line 35, in checkCurrentState governor = str(data.split(" ")[2])[:-1]; IndexError: list index out of range Segmentation fault
I'll control where I'm wrong. Thanks.
Couuld you report this command in shell? cpufreq-info -p
elfaure@linuxmint-KDE:~ > CpuFreqSystemTray Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated. Traceback (most recent call last): File "/usr/bin/CpuFreqSystemTray", line 114, in <module> main(); File "/usr/bin/CpuFreqSystemTray", line 108, in main checkCurrentState(); File "/usr/bin/CpuFreqSystemTray", line 35, in checkCurrentState governor = str(data.split(" ")[2])[:-1]; IndexError: list index out of range Segmentation fault [139]elfaure@linuxmint-KDE:~ > cpufreq-info -p [234]elfaure@linuxmint-KDE:~ >
The problem is that the program expects the command cpufreq-info -p return this: marco@ACER:~/Documents$ cpufreq-info -p 2667000 2667000 ondemand So when it try to get the third word there is an error.
I've checked and it may be that your CPU doesn't support frequency scaling!
Now its perfect, thanks.
It's a nice app, but it only changes 1 processor frequency and I have 2 xD
Thanks for replying, I have only one cpu so I didn't think to add multi cpu support. I will make sure to change all cpus. Bye bye :)
Ok, I've uploaded a new version, I should resolve that problem :)
i have 4 core processor and 8 virtual.. and this just can improve 2 processor , how can i edit to support 8 virtual processor ?