KDE CDEmu Manager
marcel83
Source (link to git-repo or to original if based on someone elses unmodified work):
# 0.2.1
* Drives sortable in settings.
# 0.2
* Better tooltip in panel mode.
* Update for KDE 4.10.
# 0.1.1
* Update for KDE 4.6.
# 0.1
* Initial release.
Ratings & Comments
28 Comments
Link http://src.xlotlu.org/plasma-applet-sm_driveio.4.6.tgz is down.
Hey, thanks for the report. I removed the dead links. If you were looking for the old version sorry, it's pretty much gone.
/usr/bin/ld: cannot find -lplasma_applet-system-monitor collect2: error: ld returned 1 exit status make[2]: *** [lib/plasma_applet_sm_driveio.so] Błąd 1 make[1]: *** [CMakeFiles/plasma_applet_sm_driveio.dir/all] Błąd 2
Hi, it's because of a missing symlink. Create it with: sudo ln -s libplasma_applet-system-monitor.so.4 $(kde4-config --install lib)/libplasma_applet-system-monitor.so
Thanks :) Could you please add an option to change drives sorting?
Wish granted. Update. :)
I ment MANUAL sorting :) ,not just a-z or z-a
Yes. The a-z / z-a has been there forever. You can now drag'n'drop them in the settings dialogue. (Note it's a bit buggy, you'll have to reorder them every time you change the settings, but it works.)
Unfortunately drag'n'drop doesn't work for me.
That's just strange. Did you restart plasma after installing the new version?
That's just strange. Did you restart plasma after installing the new version?
Ups, after plasma restart works fine. There is another issue. Plasmoid tooltip with transfer rates doesn't respect disk order from settings.
I'm afraid there's nothing I can do about that, that ordering is being done in plasma's tooltip code. You could submit a bug upstream... :)
Hi, I use a very small version of the plasmoid and therefore the scaling lines are not visible. As the plasmoid automatically sets the scale it is quite useless for me as you can hardly distinguish between heavy and low disk usage. Is it possible to include an option for fixed scaling (probably with the ability to give the maximum)?
Unfortunately the dynamic scaling is controlled by the system monitor plasmoid's core, and I don't have the technical abilities to hack on that. :)
Hi, as you might expect building plasmoid under kde 4.6 fails. Here's the build error: Linking CXX shared module lib/plasma_applet_sm_driveio.so CMakeFiles/plasma_applet_sm_driveio.dir/driveio.o: In function `SM::Driveio::addMeter(QString const&)': /home/federico/driveio/src/plasma-applet-sm_driveio/driveio.cpp:97: undefined reference to `SM::Applet::appendPlotter(QString const&, SM::Plotter*)' CMakeFiles/plasma_applet_sm_driveio.dir/driveio.o: In function `SM::Driveio::dataUpdated(QString const&, QHash<QString, QVariant> const&)': /home/federico/driveio/src/plasma-applet-sm_driveio/driveio.cpp:117: undefined reference to `SM::Applet::plotters()' CMakeFiles/plasma_applet_sm_driveio.dir/driveio.o:(.data.rel.ro._ZTVN2SM7DriveioE[vtable for SM::Driveio]+0x108): undefined reference to `SM::Applet::deleteMeters()' collect2: ld returned 1 exit status make[2]: *** [lib/plasma_applet_sm_driveio.so] Error 1 make[1]: *** [CMakeFiles/plasma_applet_sm_driveio.dir/all] Error 2 make: *** [all] Error 2
Hey, could you please apply http://dpaste.com/hold/366516/ to the 4.5 source and tell me if it works?
Hi, thanks for providing the patch. I think you messed up the file order in diff when you created the patch file, since it tells me that the patch was previously applied. Anyway, I applied it using -R flag and I got this: patching file applet.h patching file driveio.cpp patch: **** malformed patch at line 130: align=\"right\">%3</td><td>KiB/s</td></tr>") Thanks.
Ops, that malformed patch error was my fault, sorry. BTW, this patch is working properly http://pastebin.com/87fAu4Un I just fixed the diff mess, and there were also two switched lines in driveio.cpp patch. Thanks for your support!
sorry about that, I diffed them the wrong way around and ran out the door :) i made it for svn a few months ago, but if it still works i'll upload it for 4.6
Working with the Kubuntu 10.04, KDE 4.4 - Mediafire version. and working with the Kubuntu 10.10(beta), KDE 4.5. With the Kubuntu 10.10 there was a build hickup: /usr/bin/ld: cannot find -lplasma_applet-system-monitor collect2: ld returned 1 exit status make[3]: *** [lib/plasma_applet_sm_driveio.so] Error 1 Workaround was to make a symlink: sudo ln -s /usr/lib/libplasma_applet-system-monitor.so.4 /usr/lib/libplasma_applet-system-monitor.so The symlink was only needed when building. Thank you for a fine plasmoid !
sudo zypper install libkde4-devel cmake sudo ln -s /usr/lib64/libplasma_applet-system-monitor.so.4 /usr/lib64/libplasma_applet-system-monitor.so Installing: mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr && make && sudo make install
On KDE 4.4.4, this is what I get Linking CXX shared module lib/plasma_applet_sm_driveio.so CMakeFiles/plasma_applet_sm_driveio.dir/driveio.o: In function `SM::Driveio::init()': /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:45: undefined reference to `SM::Applet::setEngine(Plasma::DataEngine*)' /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:48: undefined reference to `SM::Applet::engine()' /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:49: undefined reference to `SM::Applet::engine()' /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:51: undefined reference to `SM::Applet::engine()' CMakeFiles/plasma_applet_sm_driveio.dir/driveio.o: In function `SM::Driveio::configChanged()': /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:59: undefined reference to `SM::Applet::setInterval(unsigned int)' CMakeFiles/plasma_applet_sm_driveio.dir/driveio.o: In function `SM::Driveio::dataUpdated(QString const&, QHash<QString, QVariant> const&)': /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:117: undefined reference to `SM::Applet::plotters()' /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:119: undefined reference to `SM::Plotter::addSample(QList<double> const&)' /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:120: undefined reference to `SM::Applet::mode()' /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:123: undefined reference to `SM::Plotter::title()' /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:125: undefined reference to `SM::Applet::setToolTip(QString const&, QString const&)' CMakeFiles/plasma_applet_sm_driveio.dir/driveio.o: In function `SM::Driveio::createConfigurationInterface(KConfigDialog*)': /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:153: undefined reference to `SM::Applet::interval()' CMakeFiles/plasma_applet_sm_driveio.dir/driveio.o: In function `SM::Driveio::addMeter(QString const&)': /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:92: undefined reference to `SM::Plotter::Plotter(QGraphicsItem*, QFlags<Qt::WindowType>)' /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:93: undefined reference to `SM::Plotter::setTitle(QString const&)' /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:94: undefined reference to `SM::Plotter::setUnit(QString const&)' /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:95: undefined reference to `SM::Plotter::setCustomPlots(QList<QColor> const&)' /home/neutrino/plasma-applet-sm_driveio/driveio.cpp:97: undefined reference to `SM::Applet::appendPlotter(QString const&, SM::Plotter*)' CMakeFiles/plasma_applet_sm_driveio.dir/driveio.o:(.data.rel.ro._ZTVN2SM7DriveioE[vtable for SM::Driveio]+0x210): undefined reference to `SM::Applet::deleteMeters()' collect2: ld returned 1 exit status make[2]: *** [lib/plasma_applet_sm_driveio.so] Error 1 make[1]: *** [CMakeFiles/plasma_applet_sm_driveio.dir/all] Error 2 make: *** [all] Error 2
I forgot to mention this was for 4.5. I uploaded the 4.4 version to http://www.mediafire.com/?hbg4anc10qnnq9u (apparently i can only upload 1 file here).
i've made a PKGBUILD for archlinux http://aur.archlinux.org/packages.php?ID=41050