-
 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    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

kmdsensors

   1.2r3  

KDE Kommander Script

Score 78%
kmdsensors
zoom


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

Description:

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.




Changelog:

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




LicenseGPL
Source(kmdsensors_v1-2.run)
Send to a friend
Subscribe
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.


--
Andreas

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.


--
Andreas

Reply to this

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

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

Copyright 2003-2014 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.