AnalogMachine Collection: DiscVU

Karamba & Superkaramba

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:
I always liked metallic and/or old machinery looks on anything that is themable...
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!
Last changelog:

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

jimbox

great job. nice detailing and feel!

hacar0

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

submersibleToaster

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.

macewan

outfreakingstanding

cLOUDDEAD

where we find the clock for to this theme?

KiTaSuMbA

The clock theme is called TubeClock and also comes with a seconds variant

opjose

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.

opjose

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

KiTaSuMbA

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

KiTaSuMbA

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)

Praxxus

Now you need to redirect your ripping-off skills, and make some Networking VU meters. =) Excellent job!

KiTaSuMbA

I was just discussing that with a friend yesterday night! Let me sleep on it ;-)

opjose

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.

philou

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)

KiTaSuMbA

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.

opjose

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

opjose

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

opjose

ARGH! Never mind, there was a space missing after the -P It's working fine now. Thank you! More please sir!

Ayurvedi

I love it!! ;-) :-D

Ayurvedi

... link to the wallpaper? ;-)

KiTaSuMbA
Pling
0 Affiliates
Details
license
version 0.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Karamba & Superkaramba from KiTaSuMbA:

product
AnalogMachine Collection: PerpetualCalendar
KiTaSuMbA
last update date: 20 years ago

Score 5.0

product
AnalogMachine Collection: Temp VU
KiTaSuMbA
last update date: 20 years ago

Score 5.0

product
AnalogMachine Collection: NetVU
KiTaSuMbA
last update date: 20 years ago

Score 5.0

product
AnalogMachine Collection: TubeRAM
KiTaSuMbA
last update date: 20 years ago

Score 5.0

product
AnalogMachine Collection: Tube SWAP
KiTaSuMbA
last update date: 20 years ago

Score 5.0

product
AnalogMachine Collection: Disc VU 2
KiTaSuMbA
last update date: 20 years ago

Score 5.0

Other Karamba & Superkaramba:

product
Evolution Task Theme (for Karamba)
L0rclA5CII
last update date: 22 years ago

Score 5.0

product
Karambaqua
manor
last update date: 22 years ago

Score 5.0

product
Karamba Print Queue Monitor
Praxxus
last update date: 22 years ago

Score 5.0

product
The DarkGirl wallpaper and Karamba theme
xray
last update date: 22 years ago

Score 5.0

product
TecnoBar for Karamba
ZIOlele
last update date: 22 years ago

Score 5.0

product
Karamba Ink Level Monitor
Praxxus
last update date: 22 years ago

Score 5.0