KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans  .- Knowledge Base  . 



KDE Kommander Script

Score 78%

Link:  http://
Minimum required   Kommander
Downloads:  1462
Submitted:  Sep 28 2006
Updated:  Oct 4 2006


This kommander script parses the output from the sensor command and displays up to 5 measured temperatures as progress bars. The progress percentage equals degrees C. This makes only partial sense but I could not find a better widget. It also shows the text output of the command. The display is updated every second. The parsing should catch most sensor temperature outputs.

I wrote this simple script because the otherwise very nice ksensors program requires the /proc interface to the sensors package which I do not have on my system. There is lots of room for improvement. In particular, I am not sure how well the formatting/layouting works on other systems.

Requirements: sensors, tr, sed, grep

Please add a comment after you download, thanks.


1.2r3: made it so that the script can be executed as "sh kmdsensors.run" or by using chmod 744 to make it executable.
1.2r2: made the script an executable shell script which self-extracts the kommander script; the makeself script provided with kommander-tools does not work very well with kmdr-executor and has other issues
1.2: improved internals, now generalized multi progressbar handling, added dot "heartbeat" to let users know something is running
1.1: seeing 90 or so downloads, I added "what's this?" descriptions for most of the shown window elements accessible from the "?" in the window frame. Also improved layouting so that widgets properly resize.
1.0: initial version

Send to a friend
Other  Apps  from andreasplesch
Report inappropriate content


 script issues

 by andreasplesch on: Sep 28 2006
Score 50%

I found that with the default parser it is not possible to have a @if @endif or @switch @end block nested inside a @forEach @end structure. It took me at least an hours to figure out that this must be a bug in the parser, and not in my script. Maybe the new parser addresses this but I thought I should stick to the default.

It was possible to circumvent he bug by using an additional script widget.

The documentation to Kommander could be improved much, just by aggregating the various resources to one place.

Also, the ProgressBar widget is not ideal but I could not see a better suited one.

The text output is largely for debugging/development. I left it because one can easily adjust the window size to just show the bars.

The grid layout improved the layout but I am not sure how well it works on another system.

How would one go about making the progressbar size automatically adjust to the window size ? I tried quite a few of widget properties but to no effect.

Is there a way to programmatically construct new widget ? Currently I just hide unused widgets but there may be a better way.


Reply to this


 Re: script issues

 by andreasplesch on: Sep 28 2006
Score 50%

Ok, I think I figured out the layouting features. For example, layout in a grid generally is nice. I learned that a grid layout as a child of a Group confuses the layout manager if the Group itself has a grid layout.

Well, now the resizing seems to behave well. Enjoy.


Reply to this

Add commentBack

How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

 Who we are
More about us
Frequently Asked Questions
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Sponsor us
Report Abuse

Copyright 2003-2016 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.