
CPU Meter Screenlet (Updated with animation)
Source (link to git-repo or to original if based on someone elses unmodified work):
Description:
This screenlet shows cpu/memory usage. Vista'ish look.
The original one: http://gnome-look.org/content/show.php/CPU+Meter+Screenlet+vista%27ish+look?content=64599
Originally made by Helder Fraga aka Whise
Modified by Walmis Last changelog:
The original one: http://gnome-look.org/content/show.php/CPU+Meter+Screenlet+vista%27ish+look?content=64599
Originally made by Helder Fraga aka Whise
Modified by Walmis
Added smooth animations for the cpu needle. The smoothness is adjustable in options dialog.
1.01 - Fixed memory not updating bug
1.02 - Few drawing bugs fixed
1.03 - Some improvements, hopefully fixes the wrong cpu usage reporting
Ratings & Comments
11 Comments
it's not working good... pointer goes all the time from real cpu usage to 99%...
Would be nice to have a version for dual core ^^ Nice work
if you dont mind ill add this to the original screenlet , il post credits for you , nice work
Everything works well! I say thank you for the fast correction! Great work! :)
The bug is fixed :)
I think it's still buggy. Just the same problem... thx
sorry guys... Accidentally uploaded the old file, redownload, should work fine now.
"The animation is very nice and smooth i like it, however i have one problem with the memory meter, it doesn't update" I confirm it its views. Waiting the update! :) Thanks anyway!
Sorry but i can't wait :)...here's how u can fix it (until some1 finds a better way) : open ~/.screenlets/CPU_Meter/CPU_MeterScreenlet.py, comment the following lines in on_draw() function from Quote:if self.cpu_update:
mem = self.get_mem()
self.last_mem = mem
else:
mem = self.last_mem
to:
Quote:#if self.cpu_update:
mem = self.get_mem()
#self.last_mem = mem
#else:
#mem = self.last_mem
Carrefull with the indentation or the script will fail
The animation is very nice and smooth i like it, however i have one problem with the memory meter, it doesn't update...was it intended that way? Thanks!
If this is based of off Whise's work, why don't you send him a patch? It doesn't make sense to have two versions of the same screenlet.