
AnalogMachine Collection: DiscVU
Source (link to git-repo or to original if based on someone elses unmodified work):
When I saw the TubeClock theme, I was thrilled... But nothing else had a similar look to combine!
First came the CPU and RAM modules as complete and total rip-offs from that code and grafics.
Isn't that the beauty of GPL? ;-)
But then I had this crazy idea about diskspace: just a dial with df's free-space isn't very helpful.
A "progressbar - like" meter is nowhere near that oldish, so... what about a VU-meter kind of thing?
But how do you move a needle on an analog panel? Good ol' GPL to the rescue again! Downloaded analogclock
and broke it to pieces, so the discVU theme is actually a _dual_ rip-off!
v. 0.3:
- The version supporting >100 Gb partitions based on work by Jens Köcke has been incorporated as an alternative .theme and .py pair.
- Target partition selection is now enabled via a kdialog combobox presenting all mounted partitions. Special thanks go to rkaerner, creator of TubeMail, for the productive dialogue over this issue.
v. 0.2:
Minor bugfix: approximation method in int() created the opportunity for serious numerical mixup whenever one of the digits resulted as > 9 (which SHOULD be impossible).
Ratings & Comments
21 Comments
great job. nice detailing and feel!
...You are here! What about you, dear Kitasumba?! Nice coding, nice Theme! I can remember the first time I was looking your Gentoo (oh, shit! :p) linux box, using Karamba with your Theme! :D It was terrific!!! :D So It was the start of my thinking about installing and using Linux!... This is *really* GREAT!!! ;) Thanx, ciauz... .h
DiscVU/DiscVU.py", line 84, in widgetUpdated tot = float(output[1]) IndexError: list index out of range Might be an frequent error for people who dont have /hdc2 mounted anywhere. edit line 81 of DiskVU.py f = os.popen("/bin/df | /bin/grep \"/hda1\"") Would be 'polite' to raise an error if os.popen returns nothing. Better still to glean the mounted device from fstab? Looks fantastic now I have it working.
outfreakingstanding
where we find the clock for to this theme?
The clock theme is called TubeClock and also comes with a seconds variant
Another option which would be nice to add, would be the somewhat quiet sound of solenoid switches, every time the tube image changes. The user could switch this on or off at will. This would give it the distinctive "thunk" sound the old machines used to have when the digits changed.
Yeah, with the ability to assign one meter per interface. Finally a temperature and fan monitor, and I'd be leaving this running on Linux Firewall machines all the time. It makes for a great "retro" display with "all 'dem blinking tubes".
There is nothing that pays opensource more than the users' satisfaction of wishlists. And yours has been satisfied - partly! :P - with AnalogMachine: NetVU. I just uploaded the latest of the AnalogMachine theme family. Now for the temperature and fan, it won't be that easy since I don't know where to dig in the system to obtain such information, if it's available without patching a kernel with lmsensors or even if my motherboard supports it... Of course, if you can provide any tips you are welcome! :-) Oh, the sound... that should be a kevent, right? Darkness rules here as well but I will see what I can do with that...
if anyone still looks around these old posts... wish granted!!! Look here: http://kde-look.org/content/show.php?content=17317 Temperature monitoring for Analog Machine... Hmm... could go for the fan thing too, but hey now I've got a little problem: I'm definately running out of desktop space! (just look at that screenshot)
Now you need to redirect your ripping-off skills, and make some Networking VU meters. =) Excellent job!
I was just discussing that with a friend yesterday night! Let me sleep on it ;-)
It doesn't work for me. If I change my drive to /dev/ide/host0/bus0/target0/lun0/part6 or the like it doesn't parse the DF output.
I found a way for make it work with 2.6 kernel (mandrake 10) in the script file DiskVu.py I change the line f = os.popen("/bin/df | /bin/grep \"/hdc2\"") with: f = os.popen("/bin/df -P | /bin/grep /dev/ide/host0/bus0/target0/lun0/part6 ") and it display the informations on my primary linux partition (/dev/hda6)
you should change the grep target to reflect the partition AS REFERED by df. I also use a 2.6 kernel and devfs but still df refers its output to the usual hda, hdb etc. since they are symlinked to the devfs hierarchy. Run df on a terminal, isolate the partition you are interested in and give grep in the script something unique to grab that line.
I already have the proper Symlinks in Mandrake 9.2. Also I had already tried what the other poster suggested, namely... f = os.popen("/bin/df-P | /bin/grep \"/dev/ide/host0/bus0/target0/lun0/part6\"") Neither work for me. df's output df -P Filesystem Size Used Avail Use% Mounted on /dev/ide/host0/bus0/target0/lun0/part6 186G 169G 18G 91% / /dev/ide/host0/bus0/target0/lun0/part1 122M 10M 106M 9% /boot /dev/ide/host0/bus0/target1/lun0/part5 93G 87G 6.2G 94% /files /dev/ide/host0/bus1/target0/lun0/part1 112G 107G 5.3G 96% /shared
Also adjusting the quotes does not work. The other modules work perfectly though. f = os.popen("/bin/df-P | /bin/grep /dev/ide/host0/bus0/target0/lun0/part6 ")
ARGH! Never mind, there was a space missing after the -P It's working fine now. Thank you! More please sir!
I love it!! ;-) :-D
... link to the wallpaper? ;-)
Get it here: http://www.kde-look.org/content/show.php?content=12575 Hope you like it!