LiNsta-XCPUMeter

Conky

Source i (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
Become a Fan
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:

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).


Ratings & Comments

13 Comments

LitusMayol

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!

LitusMayol

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!

angin

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...

LdrJagMan

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

nadab

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?

sick-boy

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 :)

etiennealaurent

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 ?

sick-boy

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

etiennealaurent

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.

sick-boy

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 ;)

kaspiterina

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

LasseP

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

etiennealaurent

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.

Pling
0 Affiliates
Details
license
version 0.1 (alpha)
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

More Conky from etiennealaurent:

LiNsta-Photo
etiennealaurent
last update date: 18 years ago

Score 5.0

Other Conky:

System Status
Whise
last update date: 17 years ago

Score 5.0

Genetic code
Whise
last update date: 17 years ago

Score 5.0

BCCRScreenlet
gartuz
last update date: 17 years ago

Score 5.0

Diggler
Whise
last update date: 17 years ago

Score 5.0

Comic
Whise
last update date: 17 years ago

Score 5.0

Clear-enGlish Theme pack (Picframe Theme
ClearenGlish
last update date: 17 years ago

Score 4.7