
CoreMoid
Source (link to git-repo or to original if based on someone elses unmodified work):
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/
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
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! ;)
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/
Thanks for your patch! It's work (contrary to official sources).
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}
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.
Same problem for me.
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.
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.
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
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$
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
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
that has nothing to do with coremoid i think. It's probably your distro setup that starts the ondemand governor maybe?
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.
Great idea, repository! But seems to be much closer to 4.0.3 than 4.1 beta1. Tell us when there are ready for.
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.
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?
already fixed in my Ubuntu packages (download section).
Cheers, a very good plasmoid! It would be better if it could shows the percentage of the use of every single core !
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
That's exactly what was missing from my desktop. Thanks!
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
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.
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 :)
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)