AnalogMachine Collection: DiscVU

Karamba & Superkaramba

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
Score 50.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:

15 years ago

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

jimbox

15 years ago

great job.

nice detailing and feel!

Report

hacar0

15 years ago

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

Report

submersibleToaster

16 years ago

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.

Report

macewan

16 years ago

outfreakingstanding

Report

cLOUDDEAD

15 years ago

where we find the clock for to this theme?

Report

C

KiTaSuMbA

15 years ago

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

Report

opjose

16 years ago

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.

Report

opjose

16 years ago

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

Report

C

KiTaSuMbA

16 years ago

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

Report

C

KiTaSuMbA

15 years ago

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)

Report

Praxxus

16 years ago

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

Excellent job!

Report

C

KiTaSuMbA

16 years ago

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

Report

opjose

16 years ago

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.

Report

C

KiTaSuMbA

16 years ago

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.

Report

opjose

16 years ago

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

Report

opjose

16 years ago

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

Report

opjose

16 years ago

ARGH!

Never mind, there was a space missing after the -P

It's working fine now.

Thank you!

More please sir!

Report

philou

16 years ago

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)

Report

Ayurvedi

16 years ago

I love it!! ;-) :-D

Report

Ayurvedi

16 years ago

... link to the wallpaper? ;-)

Report

C

KiTaSuMbA

16 years ago

Get it here:
http://www.kde-look.org/content/show.php?content=12575
Hope you like it!

Report

15 years ago

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

12345678910
product-maker Base: 4 x 5.0 Ratings
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.3
updated Apr 19 2005
added May 11 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0