-
 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   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (26) .- Knowledge Base (1) . 

Yasp-Scripted (Systemmonitor) v1.0.8a

   1.0.8a  

Plasmoid Binary

Score 86%
Yasp-Scripted (Systemmonitor) v1.0.8a
zoom


Yasp-Scripted (Systemmonitor) v1.0.8a
zoom


Yasp-Scripted (Systemmonitor) v1.0.8a
zoom


Minimum required   KDE 4.x
Downloads:  10409
Submitted:  Jul 31 2009
Updated:  Feb 25 2011

Description:

Yes, Yet another systemmonitor plasmoid.
But still different from the others.
The only useful plasmoid systemmonitor i have found was Yasp. The problem with it was that it was not configurable enough.
So I came up with the idea, that everyone has its own imaginations of what belongs into a systemmonitor and what not. The birth of Yasp-scripted.
The name is similar to Yasp, because I use some modified code from that project.
The biggest advantage is that you can add things to the monitor or remove some, by just changing the script file and reparse it again...) No recompilation or something like that needed...
The scriptfile which comes with this applet is a scriptfile which fits exactly my system. You probably need to change it to fit your system (e.g. if you do not have a wireless lan card, you need to remove the wlan stuff from the script file).

You can send me your script, such that I can upload a whole bunch of scripts, the user could choose of later (maybe with a screenshot to see directly what the script does)

The scripts can be found in the directory yasp_scripts.
The 1st screenshot is systemmonitor_by_mtr.script, the 2nd screenshot is systemmonitor_by_patkoscsaba.script
and the 3rd screenshot is the script collection by duncan
(thx for the scripts).

If you want to align things, you should either use a monospace font, or use a \t in the value.

If you are familiar with svg you maybe will create your own svg's for the bar-meter. Send them please to me to have a wider range of look and feel for the system monitor ;)




Changelog:

1.0.8a - wrong folder prefix ;)

1.0.8 - bug fixed when reparsing (the kde-plasma-handle was deleted, but we should not delete it)

1.0.7 - bug fixed if engine-sensors contains a colon
- Added script by joseph (thx for the script)
- New script by aldo (thx for the script)

1.0.6 - stack keyword added to plotter (thx Chris99 for the patch)
- Script by mtr added (thx for the script)

1.0.5 - fix crash on reparsing in kde-4.5.2 (with 4.5.2 reparsing works again, but 4.5.1 and 4.5.0 have a bug)

1.0.4
- Label preferredSize setting correctly + sizePolicy changed

1.0.3
- meter sizePolicy changed (works now better in KDE-4.5)
- bugfix for KDE-4.5 such that it does not crash on removal

1.0.2
- workaround for problems with KDE-4.5 and meters (min_height parameter added)
- added script by aldo to the package (italian labels)
(- known issue: yasp-scripted crashes on reparsing in kde-4.5. This will be fixed in a later release)

1.0.1 - bug fixed if yasp is closed while parsing the script

1.0: - Reparsing should be more stable




LicenseGPL
Source(Yasp-Scripted v1.0.8a)
Arch(Arch Linux PKGBUILD)
Send to a friend
Subscribe
Other  Artwork  from finkandreas
Report inappropriate content



goto page: prev  ... 6  7  8  9  10  11  12  13  14  15 

-

 Plasmoid size not being saved

 
 by bollo on: May 19 2011
 
Score 50%

Anyone else having issues getting this plasmoid to save its size?

Good system monitor though.


Reply to this

-

 Re: Plasmoid size not being saved

 
 by DuncanKDE on: May 20 2011
 
Score 50%

The yasp-scripted plasmoid has a minimum size, controlled by the displayed content of the script you set it to run, but no maximum size -- plasma itself controls that. Change what you have the script set to display to change the minimum size.

If placed in a panel larger than the minimum size, plasma will expand one plasmoid dimension (vertical in a horizontal panel, horizontal in a vertical panel) to size of the panel, the other will remain at plasmoid minimum.

If placed on the desktop, plasma will let you drag it larger than the minimum size, but not smaller.

You mention problems getting it to save its size, but saw what size you're talking about. If it's the minimum size, as I said, you control that yourself based on what you have the script setup to display, the font and font size you set, the height of the plotters, etc. The minimum width of the plasmoid is normally the required width of the widest item. As such, I control it here by setting a fixed-width font (this helps in getting things to line up well, too) and adding spaces or abbreviating labels until the longest line is the size I want. (If some lines can be variable, say due to numbers that can be 1-3 digits, I make sure another line is long enough to allow space for the three digits of the variable lines so the size doesn't keep changing on me every time it updates.) The minimum height is simply the set height of every displayed line, text or graphical, of the script.

If the size you're setting is larger than the minimum as explained above, then it's not really the plasmoid setting the size, but plasma itself. If there's a problem with that, it'd therefore be a plasma bug, not something the plasmoid itself controls.

And to answer your question, no, I'm not having such a problem, but if there were a plasma bug in that regard I'd not notice it because I configure the minimum size via the script and always use that, of course with the exception of the dimension that's always set by the panel size for plasmoids in a panel.


Duncan
Reply to this

-

 Re: Re: Plasmoid size not being saved

 
 by bollo on: May 20 2011
 
Score 50%

Thank you for you for your comprehensive answers.

I am trying to reduce the plasmoids minimum width.
I would like the monitor to be a slim coloumn placed at the edge of my screen.

I will try to get control over the mimimum width as suggested by adjusting the script.

I guess the statusbars that display the network transfer rates force the plasmoid to widen everytime it gets restarted.

I will post a how-to if I am successfull

Kudos for your work. Enjoy your weekend.


Reply to this

-

 Re: Plasmoid size not being saved

 
 by finkandreas on: May 20 2011
 
Score 50%

It depends on what you mean by "saving" the plasmoid dimensions.
If you place the plasmoid on your desktop and restart KDE, then it is KDE which will save the size.
However if you close the plasmoid, and add it again on the desktop, then yasp-scripted will have its minimum size by default.

So what exactly do you try to achieve? Over restarts the plasmoid size should not change (and it's KDE's job to ensure this)


Reply to this

-

 Question and comment

 
 by yield65 on: Jun 1 2011
 
Score 50%

I was modifying the script so that is show another wlan device, I'm on a laptop with an internal wireless as wlan0 but I use 2 other devices, wlan1 is USB the other ath0 is pcmcia.
My problem is with the system monitor sensors for download/upload speed. If I turn on the laptop with 1 or 2 of those cards disconnected then I just see a message that says it's waiting for one of those sensors and nothing else shows up.
Is there a way to bypass this so If YASP doesn't find the sensor it can keep working with a null or 0 value?

The other thing is that I changed the use of iwconfig to this:
cmd=%/usr/sbin/iwgetid wlan0 |awk -F ":" '{print $2}'%
So that it shows the ESSID of the currently connected network on opensuse (11.4) because it wasn't working with iwconfig and you can use it easier if you have more than one wireless interface.

Thnx and best regards.


Reply to this

-

 Re: Question and comment

 
 by DuncanKDE on: Jul 12 2011
 
Score 50%

What I'd do in such a case is find a command line command that reports the info you need, then use it for your sensor instead of the system monitor engine. (I don't really know enough about wireless to be of help with the specific CLI command, unfortunately.) You can then script it to report the desired value if the net is up, or return some reasonable default, say 0, if it's down, or report the error but truncate it (using cut) if it's too long, thus making yasp-scripted too wide when there's an error. I did that for a couple sensors that under some circumstances would report really long errors here. The command line gives you far more control, but OTOH, isn't as efficient as there's quite a bit more overhead to starting a process than there is in simply reporting some number spit out by an existing process, so will use more CPU.


Duncan
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman

Reply to this

-

 Re: Re: Question and comment

 
 by yield65 on: Jul 12 2011
 
Score 50%

Thank you for your reply, I ended with something like this:
sensor name="WLan1Ip" type="program" cmd=%/sbin/ifconfig wlan1 2>/dev/null | grep 'inet addr' | cut -d':' -f 2 | cut -d' ' -f1%
sensor name="Wlan1BitRate" type="program" cmd=%/usr/sbin/iwconfig wlan1 2>/dev/null | grep 'Bit' | cut -d'=' -f2 | cut -d' ' -f1-2%
sensor name="Wlan1Quality" type="program" cmd=%/usr/sbin/iwconfig wlan1 2>/dev/null | grep 'Link' | cut -d = -f2 | cut -d ' ' -f1%
sensor name="Wlan1Essid" type="program" cmd=%/usr/sbin/iwgetid wlan1 |awk -F ":" '{print $2}'%

And an interval of "3000". For the speed meter I finally used mrtg as daemon.


Reply to this

-
.

 meters despite min_height not showing

 
 by bermudahonk on: Sep 25 2011
 
Score 50%

Hello,
I'm using Debian unstable. Since KDE 4.5 I don't see any meters. They first show up when I resize the widget, but they only reach a sane size when i resize it insanely big. I know this has to do with changes made to kde. Is there any way to fix this in yasp? min_height is not helping.

Regards.


It's only funny until someone gets hurt..then it's hilarious!
Reply to this

-
.

 Anyone else had this widget working in KDE 4.8?

 
 by SicoBulo on: Jun 10 2012
 
Score 50%

I installed it with no problem but I cannot see it in "add widget" panel, Thus I can't add it.

I'm using Ubuntu 12.04 which provides KDE 4.8.3 as default.


Reply to this

-
.

 Anyone else had this widget working in KDE 4.8?

 
 by SicoBulo on: Jun 10 2012
 
Score 50%

I installed it with no problem but I cannot see it in "add widget" panel, Thus I can't add it.

I'm using Ubuntu 12.04 which provides KDE 4.8.3 as default.


Reply to this

-

 Re: Anyone else had this widget working in KDE 4.8

 
 by cialdo99 on: Jun 10 2012
 
Score 50%

Hi, try to type this command: kbuildsycoca4; then try to restart plasma-desktop


Reply to this

-

 Re: Re: Anyone else had this widget working in KDE

 
 by SicoBulo on: Jun 10 2012
 
Score 50%

Hello! I did that many times, but it doesn't work. Thanks for your answer :).


Reply to this

-

 I can't get styled fonts...

 
 by SicoBulo on: Jun 23 2012
 
Score 50%

How may I get this thing to show me the fonts that I want to? I want this thing to show me a text with a italic and bold font, but the sintax readme is not so explicit and if I put the values of my text as the README.syntax says, it doesn't work, it is like the only thing it recognizes is the point size value...


Reply to this

-

 Re: I can't get styled fonts...

 
 by SicoBulo on: Jun 23 2012
 
Score 50%

I found the solution, I found that the README.syntax says bullshit, you have to pass all the arguments in the script if you want a styled text, example if you want an oblique bolded text, the README says that if you pass in the script ex.; text format="some crap" font="Crappy Sans,7,-1,5,75" should work but not, you need to pass to the script; text format="some crap" font="Crappy Sans,7,-1,5,75,0,0,0,0"; you need to pass all the arguments even if you won't use it in order to have an styled text, otherwise yasp scripted won't recognize nothing if you pass another argument than the size, you need to pass all. Or at least it works this way for me.


Reply to this

goto page: prev  ... 6  7  8  9  10  11  12  13  14  15 

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
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

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

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.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.