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.0

Description:
A simple but usefull plasmoid to set cpufreq govenor, display the usage and on dynamic governors it display the current clock rate. The applet use DBus to interact with the cpufreq subsystem. This version only runs on multi core/cpu systems.

short installation instruction:
# wget http://www.hirnfrei.org/~joerg/coremoid/coremoid-0.3.tar.bz2
# tar xjf coremoid-0.3.1.tar.bz2
# cd coremoid-0.3.1
# cmake -DCMAKE_INSTALL_PREFIX=/usr/kde/4.0 .
# make
# make install

NOTE: The install prefix ist from my gentoo system. Please adjust this value to your needs. On Kubuntu use -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/
Last changelog:

UPDATE 2008-02-20: Now Version 0.2 is online. This Version now supports single CPU's. You can configure the orientation with the new settings widget and now it works fine on my plasma panel.

UPDATE 2008-02-23: I've wrote an ebuild. Put the ebuild in your local overlay under kde-misc/coremoid

UPDATE 2008-03-18: Thanks for the patch from Sebastian Pidek. With his patch CoreMoid prints clock rates in GHz if it reaches the 1 GHz. And I improved the font color, this is read from the Plasma style and have a better contrast by dark styles.

UPDATE 2008-04-06: Thanks to Czessi for build packages for Ubuntu "Hardy Heron". In this version I added Copyright terms to some files an added an AUTHOR file to complete the requirements for some distributions.


Ratings & Comments

35 Comments

VBart

Hi everybody. I fixed a bug with wrong number of cpu's cores detecting. New source avalable there: http://vbart.ru/files/coremoid-0.3.1-vbart.tar.bz2 It's based on Andrew's fixed version above. Enjoy! ;)

intellion

since this page seems like being not actively maintained I have uploaded fixed sources to my website. Check out http://www.katasonov.com/2009/04/simple-cpu-usage-plasmoid-for-kde4/

mkbiker

Thanks for your patch! It's work (contrary to official sources).

intellion

if you encounter a linking problem with coremoid and kde 4.2.x then replace PLASMA_LIBS with KDE4_PLASMA_LIBS in CMakeLists.txt in line target_link_libraries(plasma_applet_coremoid.${PLASMA_LIBS} ${KDE4_KDEUI_LIBS}

ViliamPucik

I'm running Coremoid plasmoid in KDE 4.1 - thanks to intellion's "Solution for compilation bug". But I would like to report a bug: There's no way to put it on the desktop. In the panel it works fine, but when I try to put it on the desktop Plasma stop working and I have to restart it.

Nissa

Same problem for me.

peteblack

Anyone have this working under KDE 4.1? Worked fine under 4.0. I get it to compile and install, but it doesn't display anything.

lolo110808

Thanks for sharing this plasmoid. Just one thing is missing: frequency display for userspace governor. Just have to put "|| m_current_govenor == "userspace" " in line 189 of coremoidapplet.cpp.

intellion

Finally my knowledge in C++ can be used for good :) Those who have compilation problems (‘self’ is not a member of ‘Plasma::Theme’) - edit coremoidapplet.cpp and replace these lines: m_textColor = Plasma::Theme::self()->textColor(); m_boxColor = Plasma::Theme::self()->backgroundColor(); with: m_textColor = Plasma::Theme::defaultTheme()->color(Plasma::Theme::TextColor); m_boxColor = Plasma::Theme::defaultTheme()->color(Plasma::Theme::BackgroundColor); Good luck!! /Andrew

wastedfluid

I get an error similar to the one above. asted@tronix:~/coremoid-0.3$ make [ 25%] Generating ui_coremoidConfig.h Generating coremoidapplet.moc Scanning dependencies of target plasma_applet_coremoid [ 50%] Building CXX object CMakeFiles/plasma_applet_coremoid.dir/plasma_applet_coremoid_automoc.o [ 75%] Building CXX object CMakeFiles/plasma_applet_coremoid.dir/coremoidapplet.o /home/wasted/coremoid-0.3/coremoidapplet.cpp: In member function ‘virtual void CoreMoidApplet::init()’: /home/wasted/coremoid-0.3/coremoidapplet.cpp:98: error: ‘self’ is not a member of ‘Plasma::Theme’ /home/wasted/coremoid-0.3/coremoidapplet.cpp:99: error: ‘self’ is not a member of ‘Plasma::Theme’ make[2]: *** [CMakeFiles/plasma_applet_coremoid.dir/coremoidapplet.o] Error 1 make[1]: *** [CMakeFiles/plasma_applet_coremoid.dir/all] Error 2 make: *** [all] Error 2 wasted@tronix:~/coremoid-0.3$

L3x

With kde4 from svn I have this error after "make": makeobj[0]: Entering directory `/home/lex/Plasmoidi/coremoid-0.3.1/build' [ 25%] Building CXX object CMakeFiles/plasma_applet_coremoid.dir/coremoidapplet.o /home/lex/Plasmoidi/coremoid-0.3.1/coremoidapplet.cpp: In member function ‘virtual void CoreMoidApplet::init()’: /home/lex/Plasmoidi/coremoid-0.3.1/coremoidapplet.cpp:106: error: ‘self’ is not a member of ‘Plasma::Theme’ /home/lex/Plasmoidi/coremoid-0.3.1/coremoidapplet.cpp:107: error: ‘self’ is not a member of ‘Plasma::Theme’ make[2]: *** [CMakeFiles/plasma_applet_coremoid.dir/coremoidapplet.o] Error 1 make[1]: *** [CMakeFiles/plasma_applet_coremoid.dir/all] Error 2 make: *** [all] Error 2 makeobj[0]: Leaving directory `/home/lex/Plasmoidi/coremoid-0.3.1/build' Regards

muzicman0

I like to keep my desktop in performance mode, but everytime I reboot it goes back to on demand or something similar...is there a way to force it to either remember the last setting, or make it open in performance? mm0

lazyboy

that has nothing to do with coremoid i think. It's probably your distro setup that starts the ondemand governor maybe?

onlinelli

I've created an Ubuntu Repository for Plasmoids (including coremoid) just add deb http://ppa.launchpad.net/cornelius-maihoefer/ubuntu hardy main to your repositories (via adept-manager) or direktly to aour /etc/apt/source.list and install plasmoid-coremoid cheers.

chatmoa

Great idea, repository! But seems to be much closer to 4.0.3 than 4.1 beta1. Tell us when there are ready for.

jmthomas

Hi, I noticed that the coremoid.png used for the Coremoid entry in the Add Widget dialog doesn't get installed. (The one referenced in the .desktop file.) This causes the Coremoid entry to have the dreaded "Question Mark" icon.

jmthomas

I found the problem. The icons are being installed to "/usr/lib/kde4/share/kde4/apps/icons/oxygen" when they should be installed to "/usr/lib/kde4/share/icons/oxygen". Even then, wouldn't the icon only work if you were using oxygen?

Czessi

already fixed in my Ubuntu packages (download section).

blake812

Cheers, a very good plasmoid! It would be better if it could shows the percentage of the use of every single core !

GermanTux83

Hello Blake, that will conflict with the dynamic governors view of the clock rate. See the first or the third screen shot. If this would be activated the clock rate view needs to be deactivated. I evaluate this for the future 0.4 release. Thanks for you comment. MfG GermanTux

iovar

That's exactly what was missing from my desktop. Thanks!

lazyboy

Hi, thanks again for this great applet, it's awsome!! :D I was wondering if it's possible for you to add cpu temp support, maybe as optional feature? Thanks! Mikko

GermanTux83

I thought about temp support, but there are many interfaces, lm_sensors, /sys, /proc ... it will be a lot of work to build a modular support for every implementation. If you have an idea how this could be easy realized let me know.

lazyboy

I have no idea how to do that, I'm no programmer, just a normal user :P But with KDE3 I used this wonderful applet for kicker: http://www.kde-apps.org/content/show.php/Kima+-+kicker+monitoring+applet?content=33257 It has support for many different ways to get the temperature. Maybe you could look at that :)

onlinelli

Thanks a lot for your plasmoid, it works great on Kubuntu 7.10 and 8.04. Note that the right cmake command for Kubuntu is: cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/ (at least that works for me)

Pling
0 Affiliates
Details
license
version 0.3.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

More Plasma 4 Extensions from GermanTux83:

Applet HDAPS
GermanTux83
last update date: 17 years ago

Score 5.0

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 13 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 12 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0