LiNsta-XCPUMeter

Conky

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

0
5 .0
Description:

LiNsta-XCPUMeter is an adesklet (http://adesklets.sourceforge.net).

LiNsta-XCPUMeter is a simple analogical system monitor (CPU, MEM and SWAP) for your desktop.

**VERY IMPORTANT** This adesklet depend on pystatgrab module. So, you have to install it via your packages management system to make it work.

See README file (*IMPORTANT*) for all details.

To run LiNsta-XCPUMeter, decompress archive in any dir or subdir in your home, go to LiNsta_XCPUMeter dir, edit the config.txt file to change the skin you want (see README file for more details). Skins available for now : Black, Default, Noir.
To change options, right-click on the desklet.

Never tested on Linux AMD64.

Send me your skins.

If you want other functionalities, then tell me.

It's the second "LiNsta" desklet I publish. Other "LiNsta" desklets soon :-)

Enjoy ;-)
Last changelog:

12 years ago

Ver 0.1 : Alpha release, and first public release. No bug (I think), but config file not optimized, not possible to change skin dynalically, and no config file for skins (some parameters are hard-coded).

LitusMayol

11 years ago

Hei man!

Is the best desklet (it looks so pretty).But I can't run it :S


litus@mayolets-desktop:~$ /home/litus/LiNsta_XCPUMeter/LiNstaXCPUMeter.py
Traceback (most recent call last):
File "/home/litus/LiNsta_XCPUMeter/LiNstaXCPUMeter.py", line 7, in <module>
import adesklets
ImportError: No module named adesklets
litus@mayolets-desktop:~$


Do you know what can it be?
Thansk, and well done: good job!

Report

LitusMayol

11 years ago

Sorry... I've installed Phyton (haven't it before... XD Sorry)



Now I've another different problem:

litus@mayolets-desktop:~$ /home/litus/LiNsta_XCPUMeter/LiNstaXCPUMeter.py
Do you want to (r)egister this desklet or to (t)est it? t
Now testing...
============================================================
If you do not see anything (or just an initial flicker
in the top left corner of your screen), try `--help',
and see the FAQ: `info adesklets'.
============================================================


But I've repaired it by "litus@mayolets-desktop:~$ adesklets --nautilus
"


So thanks, for this fantastic desklet!

Report

angin

12 years ago

its working on my gutsy, but got problem with the background transparency, and the configuration menu didnt give any respon.
all of the meters work perfect. also move and toggle values menu work fine.
great job...

Report

LdrJagMan

12 years ago

How about adding one more "circle" and making it a Internet Data In and out gauge

Report

nadab

12 years ago

Where's the 'LiNstaXCPUMeter.py --nautilus' script I1m using the UBUNTU 7.04 and I can't install the desklet...am I doing something stupid?

Report

sick-boy

12 years ago

I have Ubuntu Gutsy with aDesklets 0.6.1 and python 2.5 but appers this error message:


Traceback (most recent call last):
File "./LiNstaXCPUMeter.py", line 302, in <module>
Events(dirname(__file__)).pause()
File "./LiNstaXCPUMeter.py", line 75, in __init__
adesklets.Events_handler.__init__(self)
File "/usr/lib/python2.5/site-packages/adesklets/events_handler.py", line 158, in __init__
self._alarm()
File "/usr/lib/python2.5/site-packages/adesklets/events_handler.py", line 296, in _alarm
timeout=self.alarm()
File "./LiNstaXCPUMeter.py", line 124, in alarm
self.refreshData()
File "./LiNstaXCPUMeter.py", line 145, in refreshData
self.get_swap_stats()
File "./LiNstaXCPUMeter.py", line 293, in get_swap_stats
self.swap_krell = int(int((stats["total"] - stats["free"])*100)/float(stats["total"]))
ZeroDivisionError: float division


Any idea to resolv this problem?
Anyway, congratulations for your nice aDesklets theme :)

Report

C

etiennealaurent

12 years ago

Do you have a swap partition ? This part of the code is about swap. If you don't have swap, you have this error.

I supposed there was always a swap partition in any linux box. Am I wrong ?

Report

sick-boy

12 years ago

Of course. I have a swap partition with 830 MB... I dont know if this is a problem from gutsy....

Report

C

etiennealaurent

12 years ago

Please edit the LiNstaXCPUMeter.py file.
Add the next line before the line 293 with the good indentation (1 tab, I think) :

print "Total swap :", stats["total"]

Run LiNstaXCPUMeter.py again in a terminal as a test (in the main dir, run ./LiNstaXCPUMeter.py --nautilus if you are in GNOME).
If the swap is detected, you can see your swap size.
Otherwise, there is someting wrong with pystatgrab module.

Please, tell me.

Thank you.

Report

sick-boy

12 years ago

Now works!!!
You're right. I had the swap partition but to upgrade to ubuntu gutsy (development version yet) I don't no why but I didn't have configure the fstab to mount the swap at boot the system. I resolved it.
Very thanks for your help. Nice work with this adesklets theme ;)

Report

kaspiterina

12 years ago

great job!It works perfctly
I am waiting other adesklets
thank you

Report

LasseP

12 years ago

I cant get this to work, getting this
LiNsta_XCPUMeter$ ./LiNstaXCPUMeter.py
Traceback (most recent call last):
File "./LiNstaXCPUMeter.py", line 7, in <module>
import adesklets
File "/usr/lib/python2.5/site-packages/adesklets/__init__.py", line 30, in <module>
from adesklets.initializer import _Initializer
File "/usr/lib/python2.5/site-packages/adesklets/initializer.py", line 13, in <module>
from children_handler import _Children_handler
File "/usr/lib/python2.5/site-packages/adesklets/children_handler.py", line 5, in <module>
from signal_handler import Signal_handler
File "/usr/lib/python2.5/site-packages/adesklets/signal_handler.py", line 12, in <module>
class Signal_handler:
File "/usr/lib/python2.5/site-packages/adesklets/signal_handler.py", line 20, in Signal_handler
func = posix_signal.signal
AttributeError: 'module' object has no attribute 'signal'

I'm using Ubuntu Gutsy Gibbon amd64 and screenlets 0.0.10-3
any ideas?
thx

Report

C

etiennealaurent

12 years ago

I never tested LiNsta-XCPUMeter on Ubuntu Gutsy Gibbon AMD64 nor any other AMD64 distro.
If adesklets can be installed on any AMD64 distro, with pystatgrab module, then I think you can use LiNsta-XCPUMeter.

Report

12 years ago

Ver 0.1 : Alpha release, and first public release. No bug (I think), but config file not optimized, not possible to change skin dynalically, and no config file for skins (some parameters are hard-coded).

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
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.1 (alpha)
updated Aug 27 2007
added Aug 20 2007
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0