Oxygen System Monitor

Plasma 4 Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

6
6.3
Description:

Howto install System Monitor "Oxygen"
-> Right click on desktop
-> Add Widgets
-> Select "Install new widgets"
-> Select "Install from file"
-> Go to location where "oxygen" is located, after you selected click on finish
-> Now is instaled Oxygen System Monitor !

Required application for this monitor :
1. hddtemp
2. lm_sensors

If "HDD Temp" is not working, you need to active hddtemp deamon becuase this script use this command to show hard disk temperature : nc localhost 7634 | cut -d'|' -f4

Original configuration of this monitor :
* Wired Network inteface : eth0
* Whireless Network interface : wlan0
* Hard Disk drive : /dev/sda

Thanks to Konstantin Kudakov for some upgrades.


********************************************************************
Thanks to : Edward Miller ( vbgraphix ) for upgrades !
********************************************************************
Last changelog:

12 years ago

[18.01.2009 ] Version : 0.7
- Amarok2 work much better now, and the cover art should be displayed
- The CPU temperature should also work much better
- The HDD temp can be run without root privileges using netcat
- fixed a bunch of the text alignment


[ 03.10.2008 ] Version : 0.5
- Amarok 2 work ( thanks to : Martin Buggiano )


[ 10.08.2008 ] Version : 0.4
- Distro bug fixed by Konstantin Kudakov
- "CPU Temperature" work with lm_sensors by Konstantin Kudakov
- HDD Temperature bug fixed by Konstantin Kudakov
- Display KDE / QT version fixed
- Work with dual core fixed by Konstantin Kudakov

[ 10.08.2008 ] Version : 0.3
- HDD Temperature "added"
- Whireless Link Quality display "fixed"
- Amarok cover display "added"
- CPU Load "added"
- Show number of process "added"

[ 09.08.2008 ] Version : 0.2
- Style bugfixed
- Whireless style "fixed"
- Amarok control "added"
- Netstat changed

[ 06.08.2008 ] Version : 0.1
First version 0.1 was released

Classicist

11 years ago

I have tried installing the Oxygen System Monitor into my Kubuntu 9.04 (jaunty) desktop. Everything appears to go well until I actually try to install the SuperKaramba theme in the Add Widgets dialog. I get an error dialog entitled "Installation Failure - Plasma Workspace" containing a not very helpful message, "Installing the package /home/bruce/temp/oxygen/oxygen.theme failed."

To the best of my ability to double-check all these things, I have installed all the dependencies and configured all the preliminaries, including lm-sensors and hddtemp.

Is there further testing I can do to trace the failure of the theme to install?

Report

nusch

11 years ago

Please change line:
/sbin/iwconfig wlan0 | grep 'ESSID' | awk '{print $4}' | sed -s 's/ESSID://'
to
/sbin/iwconfig wlan0 | grep 'ESSID' | awk -F'"' '{print $2}' | sed -s 's/ESSID://'

The first one doesn't show whole ESSID while containing space.

Report

proofek

11 years ago

The version available for download is version 0.5 (although it presents it as version 0.4). Where can I download version 0.7?

Report

gravy

11 years ago

i love that widget/plugin/addon/whatever! :-)
even better, i customized it a bit for my needs, thank you for your great "basis"!

one thing: the amarok cover-fetching uses the old dcop thingie, which doesnt work with the newer amarok (here):
`dcop amarok player coverImage`

after much searching and trying i came so far:
`qdbus org.kde.amarok /Player GetMetadata | grep arturl | sed 's/arturl: file:\/\///g' | ruby -ruri -p -e '$_=URI.decode$_' | sed 's/\&/\\\&/g'`

yes, very ugly long code for such a small task. this line returns the current artwork-filename (if exists). i didnt get the escaping right, therefore the last two sed commands.

oh, i just saw the "stop" button has some prob too. will have a look for that tomorrow..

thanks for this, keep up the good work, appreciated! :-)

manuel
[over anonymous bugmenot-account]

Report

kevin79

11 years ago

Does anyone know if this will work with KDE 4.2?

Report

proofek

11 years ago

Yes it does.

Report

nargzul

11 years ago

I think you can install superkaramba, no?

Report

m1k0

12 years ago

Amarok2 still don't work.
I think, that should be dbus, not dcop.

Report

vbgraphix

12 years ago

haha seems my hdd temp fix is worse than the one listed in the summary... fixed.

Report

vbgraphix

12 years ago

I spent some time polishing this system monitor, and here is the result:

http://embraceunity.com/wp-content/uploads/2009/01/oxygen.skz

Amarok2 should work much better now, and the cover art should be displayed

The CPU temperature should also work much better

The HDD temp can be now be run without root privileges using netcat (may need to customize the alignment ie: change "cut -c33-34" based on where the temperature is in the output of "nc localhost 7634" ... currently set to the 33rd and 34th characters)

I also fixed a bunch of the text alignment

Be sure to have lm-sensors and hddtemp installed!

Thank you Kilah for your work!

Report

glenstewart

12 years ago

This Oxygen variation contains only dynamic information, so takes less desktop space. It's made for a dual-cpu system and works fine on KDE 4.2.

Preview: http://freegroups.net/innovative/glen_stewart/oxy.jpg

Download: http://freegroups.net/innovative/glen_stewart/oxy.skz

Report

GUAN

12 years ago

Hi,

I have some problems tring to configure this plasmoids to load when KDE startup.

I'm using Debian sid with KDE4.1.3
I'm installed superkaramba for KDE4.

When I try to load the widget I select Super Karamba Themes and hit on the file. The plasmoid is installed but If I drop to desktop I have this message "Error initialization script"

If in konqueror I select the file and make open it with superkaramba the plasmoid loads without problem but when I reload the KDE sesion I need to load again manualy the plasmoid

How can I fix this behaviour?

Thanks,
GUAN

PS: Good job ;)

Report

greg0ire

12 years ago

Great plasmoïd indeed!
But amarok informations do not show up, though amarok controls work well. What can I do?

Report

emo1pl1

12 years ago


# [ information about track ]
text x=3 y=15 value="Title: " fontsize=11 font="Blue Highway"
text x=35 y=15 sensor=program program="qdbus org.kde.amarok /Player GetMetadata | grep title" fontsize=11 font="Blue Highway" interval=1000
text x=3 y=27 value="Artist: " fontsize=11 font="Blue Highway"
text x=40 y=27 sensor=program program="qdbus org.kde.amarok /Player GetMetadata | grep artist" fontsize=11 font="Blue Highway" interval=1000
text x=3 y=39 value="Time: " fontsize=1cop amarok player1 font="Blue Highway"

Report

emo1pl1

12 years ago

I have one problem , How convert from time [ms] to format HH:MM:SS ?


# [ information about track ]
text x=3 y=15 value=" " fontsize=11 font="Blue Highway"
text x=3 y=15 sensor=program program="qdbus org.kde.amarok /Player GetMetadata | grep title" fontsize=11 font="Blue Highway" interval=1000
text x=3 y=27 value=" " fontsize=11 font="Blue Highway"
text x=3 y=27 sensor=program program="qdbus org.kde.amarok /Player GetMetadata | grep artist" fontsize=11 font="Blue Highway" interval=1000
text x=3 y=39 value="time: " fontsize=11 font="Blue Highway"
text x=75 y=39 sensor=program program="qdbus org.kde.amarok /Player PositionGet" fontsize=11 font="Blue Highway" interval=1000 align=right
text x=78 y=39 value="/" fontsize=11 font="Blue Highway"
text x=83 y=39 sensor=program program="qdbus org.kde.amarok /Player GetMetadata | grep mtime | cut -c 7- " fontsize=11 font="Blue Highway" interval=1000

PS. Sorry for my english

Report

C

kilah

12 years ago

the time from what to hh:mm:ss ?

Because in script the time is :

font="Blue Highway" sensor=time format="hh:mm:ss" interval=1000 align=right
.

Thanks for information about amrok track. I will upgrade the script.

Report

swalker23

12 years ago

I can't get it to show cpu temp. I have lm_sensors installed and set up cause I get the read out in terminal when I type sensos-detect.
mobo: 780i nvidia
cpu: q6600 (quad)

Report

joethefox

12 years ago

Yes, I like it (even if it is a bit too big for my taste) but I think it's a superkaramba theme, not a plasmoid binary...

Report

buggabill

12 years ago

I have written a couple of bash scripts for DBUS data retrieval from Amarok and am successfully using them with this. You can use and modify them at will.

Do you want them? How do I go about getting them to you?

Report

C

kilah

12 years ago

now i have update with amarok 2 support :

---------
clickarea x=0 y=57 h=32 w=32 preview=false onclick="dbus-send --type=method_call --dest=org.kde.amarok /Player org.freedesktop.MediaPlayer.Prev" name="Prev"
clickarea x=33 y=57 h=32 w=32 preview=false onclick="dbus-send --type=method_call --dest=org.kde.amarok /Player org.freedesktop.MediaPlayer.Stop" name="Stop"
clickarea x=66 y=57 h=32 w=32 preview=false onclick="dbus-send --type=method_call --dest=org.kde.amarok /Player org.freedesktop.MediaPlayer.Play" name="Play"
clickarea x=96 y=57 h=32 w=32 preview=false onclick="dbus-send --type=method_call --dest=org.kde.amarok /Player org.freedesktop.MediaPlayer.Pause" name="Pause"
clickarea x=129 y=57 h=32 w=32 preview=false onclick="dbus-send --type=method_call --dest=org.kde.amarok /Player org.freedesktop.MediaPlayer.Next" name="Next"

Report

lingenfr

12 years ago

I agree. I used this previously with SK, but don't intend to take on the rest of the baggage just for this. Thanks to the author for his work, but hopefully he will update this for KDE4.

Report

jmiahman

12 years ago

This isn't a true KDE 4 app as you're still using DCOP and on KDE 4 environments unless certain KDE 3 depends are installed to supply dcop, dcop is replaced by dbus and is no longer supplied. To be safe you should rewrite the Amarok portion to use dbus calls. I don't want to have to install KDE 3 for this little Karamba/Plasmoid to be fully functional.

Report

milomak

12 years ago

How would I go about making the background transparent?

Report

duluoz

12 years ago

I'd like to install crystal monitor, but it doesn't seem possible to install.

In the install plasmoid from file menu there are two options

1. Install native plasmoid
2. Install MAC OS plasmoid

In neither of these is it possible to install a *.skz file

Is there another way? My system stats follow

Qt: 4.4.0
KDE: 4.1.61 (KDE 4.1.61 (KDE 4.2 >= 20080807)) "release 1.4"
Konqueror: 4.1.61 (KDE 4.1.61 (KDE 4.2 >= 20080807)) "release 1.4"

Linux version 2.6.25.11-0.1-default (geeko@buildhost) (gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) ) #1 SMP 2008-07-13 20:48:28 +0200

Report

Sload

12 years ago

You need to install superkaramba-kde4.

Report

12 years ago

[18.01.2009 ] Version : 0.7
- Amarok2 work much better now, and the cover art should be displayed
- The CPU temperature should also work much better
- The HDD temp can be run without root privileges using netcat
- fixed a bunch of the text alignment


[ 03.10.2008 ] Version : 0.5
- Amarok 2 work ( thanks to : Martin Buggiano )


[ 10.08.2008 ] Version : 0.4
- Distro bug fixed by Konstantin Kudakov
- "CPU Temperature" work with lm_sensors by Konstantin Kudakov
- HDD Temperature bug fixed by Konstantin Kudakov
- Display KDE / QT version fixed
- Work with dual core fixed by Konstantin Kudakov

[ 10.08.2008 ] Version : 0.3
- HDD Temperature "added"
- Whireless Link Quality display "fixed"
- Amarok cover display "added"
- CPU Load "added"
- Show number of process "added"

[ 09.08.2008 ] Version : 0.2
- Style bugfixed
- Whireless style "fixed"
- Amarok control "added"
- Netstat changed

[ 06.08.2008 ] Version : 0.1
First version 0.1 was released

12345678910
2
product-maker axed Jan 10 2012 9 excellent
product-maker riggy Dec 08 2010 9 excellent
Be the first to comment
despot77
May 28 2012
acy66
Nov 16 2010
nowardev
Nov 28 2009
Timslin
Aug 23 2009
Animatrix
Jun 23 2009
saLOUtions
Feb 17 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.7
updated Jan 18 2009
added Aug 06 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 3