Veromix - volume control / soundmenu
nik3nt3
Source i (link to git-repo or to original if based on someone elses unmodified work):
0.3:
- case insensitive fan lookup
0.2:
- Fixing: 'QString' object has no attribute 'toString'
* Works with pling-storeor ocs-url
More Plasma 4 Extensions from nik3nt3:
Other Plasma 4 Extensions:
© 2025 pling.com - Planet Linux'ing Groups
All rights reserved. All trademarks are copyright by their respective owners. All contributors are responsible for their uploads.
Ratings & Comments
30 Comments
After doing a bit of research (and reading FanSpeed's code) I have to withdraw the bug of the label color from FanSpeed and move it to pykde4. Sorry for that one and kind regards.
Thank you for developing FanSpeed! It's great, especially because it's the only if it's kind. However, having to go to Settings and change Maximum Speed every time I login makes using the plasmoid a bit annoying, and leaving the default settings is really useless. Likewise the RPM readout: it's unreadable on themes with white font. I really hope you will find time to fix these two issues, especially because there's no alternative plasmoid. Thanx again!
Nice Plasmoid. Just two bugs: 1. Current RPM's are seemingly printed on the gauge but use system's default foreground text color. On systems with a white-text-on-dark-background color scheme this results in unreadable RPM-printing. Please change to use a black or otherwise dark color always on a known-white background and not rely on system color scheme settings. :) 2. If possible I'd like to have my "max RPM" setting stored even if the system reports an amazingly high RPM. My system reports 65535 RPM on going to suspend which I have to change back to its usual (and one order of magnitude less) maximum value everytime. At least a checkbox like "do not adjust max. value to reported fan speed" would be nice here. Thanks for your work.
I agree. Please fix.
There, I fixed it. Added 3 lines of code. Mail me if you want the fixed source.
Hi I think that your plasmoid is great, but unhappylly, i can't use in my macbook (v2) because i haven't the string "fan", but 'Exhaust". In mac machines, we need use the module 'applesmc', that return this in "sensors" command: Quote:# sensors
applesmc-isa-0300
Adapter: ISA adapter
Exhaust : 6208 RPM (min = 1800 RPM)
TB0T: +34.2°C
TC0D: +69.8°C
TC0P: +67.0°C
TM0P: +60.2°C
TN0P: +63.5°C
TN1P: +65.5°C
TTF0: +57.2°C
Th0H: +65.2°C
Th0S: +65.5°C
Th1H: +65.8°C
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +73.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +75.0°C (high = +100.0°C, crit = +100.0°C)
There is no fan listed
Very useful. Thanks!
Hello, i can only choose fan4 and fan5 in plasmoid but there is no fan for CPU Fan as listed after "sensors" in terminal $ sensors k8temp-pci-00c3 Adapter: PCI adapter Core0 Temp: +54.0°C Core1 Temp: +57.0°C w83627ehf-isa-0290 Adapter: ISA adapter VCore: +1.43 V (min = +0.00 V, max = +2.04 V) in1: +8.87 V (min = +0.00 V, max = +13.46 V) AVCC: +3.26 V (min = +0.00 V, max = +4.08 V) 3VCC: +3.25 V (min = +0.00 V, max = +4.08 V) in4: +1.62 V (min = +0.00 V, max = +2.04 V) in5: +1.83 V (min = +1.50 V, max = +1.52 V) ALARM in6: +5.89 V (min = +5.91 V, max = +6.48 V) ALARM VSB: +3.18 V (min = +0.00 V, max = +4.08 V) VBAT: +2.96 V (min = +0.00 V, max = +4.08 V) in9: +1.51 V (min = +2.04 V, max = +2.04 V) ALARM Case Fan: 0 RPM (min = 0 RPM, div = 128) CPU Fan: 2721 RPM (min = 664 RPM, div = 8) Aux Fan: 0 RPM (min = 0 RPM, div = 128) fan4: 0 RPM (min = 10546 RPM, div = 128) ALARM fan5: 0 RPM (min = 10546 RPM, div = 128) ALARM Sys Temp: +40.0°C (high = +127.0°C, hyst = +127.0°C) sensor = thermistor CPU Temp: +46.5°C (high = +80.0°C, hyst = +79.0°C) sensor = thermistor AUX Temp: -48.0°C (high = +127.0°C, hyst = +127.0°C) sensor = thermistor cpu0_vid: +1.350 V Please advice ;)
Hi can you check if you find the "missing" fans in the plasma dataengine, run: Quote:
plasmaengineexplorer --engine systemmonitor
and add the search-term: fan. If all fans are listed there, please tell me their names. Otherwise you should fill a bug against the plasma-dataengine "systemmonitor"..
Hope this helps
/nik
all names listed below: lmsensors/w83627ehf/Case_Fan lmsensors/w83627ehf/CPU_Fan lmsensors/w83627ehf/Aux_Fan lmsensors/w83627ehf/fan4 lmsensors/w83627ehf/fan5 Key Value of QString Type respectively but "_" replaced by " " (space) Regards
Thx - it seems that the fan-lookup is not case-insensitive (fan vs Fan) -- i will fix that.. /nik
working now?
Now it's OK! Sorry to be late with my response ;)
Here is the output for 'sensors': ~:/$ sudo sensors coretemp-isa-0000 Adapter: ISA adapter Core 0: +38.0°C (high = +80.0°C, crit = +100.0°C) coretemp-isa-0001 Adapter: ISA adapter Core 1: +38.0°C (high = +80.0°C, crit = +100.0°C) Still the plasmoid does not list any fans. Please advise.
I just ran 'sensors-detect' that updated the /etc/modules file. I can't reboot just now. More later.
I am not getting any response from hardware for any fan device. I have QT and PyQT installed. Do the dev's need to be installed, too? Please advise.
You don't need the dev's (you mean development packages right?) lm-sensors must be configured. Run the command "sensors" in a terminal and look for fan1, fan2 ... thats what this plasmoid should show. https://help.ubuntu.com/community/SensorInstallHowto https://wiki.archlinux.org/index.php/Fan_Speed_Control
After installing the meter shows on the desktop like a charm and looks discrete and nice. But the meter stays at bottom and when I try to set fan I find lmsensors/it8712/fan1 which is correct, and I can set maximum speed, but still no luck. The output of >sensors for fan1 is correct. Does it matter if I rename "fan1" in sensors3.conf? I had it set for "CPUfan" a while but then changed back. According to comments above I checked the files in /home/xxxxxx/.kde4/share/apps/plasma/plasmoids/FanSpeed/contents/code unfortunately I a complete noob when it comes to hacking plain code so it doesn't mean much to me. If someone could give me some simple hands on tips I would be very greatful!
Forgot: openSUSE 11.3 KDE 4.4.4Py 2.6.5 Qt 4.6.3 PyQT 4.7.3
Hi Is the new verison working? /nik
Works fine now - thanks! But how about tweeking it? Lets say change text color, range of the meter?
You can already change the range of the meter in the settings..
I can't find any such options in GUI. Do you mean changing drectly in the main.py? I such case where?
No there is an option "Maximum Speed" which defines which rpm value should be taken as 100%. Or what do you mean with "range of the meter"?