SuperKaramba TuxBar with SMOOTH zoom

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
5 .0
Description:

This is a NEW SuperKaramba version of TuxBar!

Now it has full SMOOTH zoom just like in MacOS X! The bar even grows and the icons move almost exactly as in OS X. See the power of SuperKaramba :)

Please make sure you are using SuperKaramba 0.17f or HIGHER! Notice the "f"!
The newest version of SuperKaramba speeds things up A LOT.

PS: You can steal the tuxbar.py to add parametric zoom to your own themes.
Last changelog:

17 years ago

2.0 - 0.17g:

You need this version if you have upgraded to SuperKaramba 0.17g - otherwise there are no changes.

C

ageitgey

17 years ago

I think it must depend a lot on the video drivers in use.

On my laptop (1.6ghz geforce 2mx), I can't make it go over 6% cpu and mp3s play in the background just fine.

You say it uses about 40% cpu when redrawing on a 600mhz machine with a GeForce2. That sounds reasonable compared to my laptop.

But someone said it uses a 100% cpu on an Athlon 2000XP. They must have really slow video drivers or something. And on my 650mhz desktop (with a crappy TNT2 or something and who knows what video drivers), it is very laggy.

So I guess like a lot of things, the bottleneck isn't the cpu (running the scaling code) , but maybe the video/cpu interface or something else I haven't thought of.

One of the coolest things about SuperKaramba is that all the python functions that you call from your python script are implemented in pure c++ so there should be almost no overhead by using python (unless you do something really crazy in your python code).

Report

Kleggas

17 years ago

Sorry, forgot to answer your question, I use your "smooth" version wich really is smooth on my computer

Report

Kleggas

17 years ago

sorry for my spamming, need to remember to put all replies in 1 and same submission, but I noticed someone with AMD athlon 2000+ said he got 100% cpu usage, well, I use Intel Celleron, maby thats why my 600Mhz don't die when running the bar

Report

xosrow

17 years ago

I don't know if I've overlooked any config issues or what, but the bar doesn't show up at all.
It's just there as a hidden thing!!

I've tried changing the picture paths to absolute path and also tried just running the original. Neither worked.

So, here's what i think may be the problem : What is SuperKaramba, and how is different from the karamba by Hans Klarsson ? http://www.efd.lth.se/~d98hk/karamba/karamba.html

Cheers.
Xosrow

Report

C

ageitgey

17 years ago

Well thats your problem... you are using this SuperKaramba theme with regular karamba.

SuperKaramba is a new version of Karamba (still based on the original Karamba) I wrote that supports interactive widgets (you can program to do all kinds of things that aren't remotely possible in Karamba).

If you view this theme in regular karamba, nothing at all with show up other then a blank rectangle.

You need to download super karamba (look in the new releases under "Kde Improvements").

Make sure that when you install SuperKaramba that you overwrite your old karamba executable or at least make sure you call the correct karamba executable. SuperKaramba can run old regular themes fine but Karamba can't do much of anything with a SuperKaramba theme and you don't want to accidently run the old Karamba when you type "karamba" in a console.

Report

sourcexx

17 years ago

...perfect job ... i don't like python that much but i guess i have to take a deeper look into this right now ;-)

keep up the good work dude...

rgds
marc'O

Report

Kleggas

17 years ago

I use it on a 600Mhz with 768 ram (pci100) and g-force2, not slow at all, so anyone who has this kind of computer or better can feel free to use it :)

Report

kola

17 years ago

First, great job! Works perfectly in concept. I guess you might be aware of the following issues, and hopefully fix em in future versions :)

Slow... On my Athlon XP 2000+... I see the cpu usage go 100% with a slow response as the mouse goes back & forth. Also, icons seem a lot separated while zooming.

Would it be possible (in some future version) to have the icon sizes variable. (e.g. 48x48 -> 64x64) ?

overall - awesome!

Report

Kleggas

17 years ago

I am using the "smooth" version, and yes it is not slow, it doesn't "lag" from pic to pic, it switches smoothly, and my cpu when scrolling the icons in this bar (and having 5 more karamba themes running) went only to 40% (up to 100% if I started to move my mouse cursor over the icons in 100 km/h but not with normal use)
And I did not do anything special, so great work, I really love tuxbar

Report

C

ageitgey

17 years ago

Are you using the tuxbar-pzoom.tar.gz which is stupid and fast, or the new tuxbar-pzoom-smooth.tar.gz which is much more CPU intensive?

I'd love to hear that you made the latter one work on your computer.

Report

C

ageitgey

17 years ago

I made the update post but forgot to upload the file :)

Make sure you have "tuxbar-pzoom-smooth.tar.gz" and not "tuxbar-pzoom.tar.gz".

Thanks

Report

C

ageitgey

17 years ago

Now I have rewritten superkaramba tuxbar to be completely smooth and Mac OS X like! Please let me know what you think.....

And don't try it on a slow computer :)

(Works well on a 1.6ghz P4 here but not so well on a 650mhz P3)

Report

xxxAlex83xxx

17 years ago

Great work!
I'm watching your "dock" and I observe that for each image there are 3 states: normal, zoom and middle. This make an effect less clean then the real dock of MAC OSX.
Is there a parameter in the .py script that I can modify to have more than only 3 states for each icon ?

Thanx!
Alex

Report

C

ageitgey

17 years ago

Actually it took a huge rewrite... but now its smooth just like OS X! Enjoy :)

Just don't use it on a slow computer.

Report

rj-au

17 years ago

how does the theme call the script to execute it? i tried modifying the script for another theme but it doesnt seem to work

Report

C

ageitgey

17 years ago

you just name the script the same as the theme:

mytheme.theme would run
mytheme.py

And make sure mytheme.py is in the same directory as mytheme.theme

The file API in the examples directory that comes with SuperKaramba will tell you everything you need to know :)

Report

bonega

17 years ago

.

Report

rj-au

17 years ago

sorry that was my fault... i used the .theme file from Luis' osxbar, but never updated the first line to my name, Matthew Coad

Report

C

ageitgey

17 years ago

doh.. I put his name in the README. I'll change it when i update it next.

Report

wizzard

17 years ago

Thanks for this theme!

Although I dont use the bar, I needed a good python example :)

Report

rj-au

17 years ago

just a quick note i made the tuxbar.... the icons were from someone else :)

Report

rj-au

17 years ago

hey man i was hoping someone would make this even better hehe... nice work for all us non programmers out there.

Report

muhulu

17 years ago

Nice new karamba version... it would be even cooler, if it would use svg-images :)

Report

mendred

17 years ago

looks like soon karamba and slicker together will form an excellent alternative for kicker. :) Good show.

Report

17 years ago

2.0 - 0.17g:

You need this version if you have upgraded to SuperKaramba 0.17g - otherwise there are no changes.

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
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.17g
updated Apr 23 2003
added Apr 20 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0