MacOSX Docker

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:

Attempt at making a fully working MacOSX emulating docker. Main configuration is in Conf.py; useMyIcons is used to control whether the icons supplied is used in preference to the icon themes. You _must_ alter your themePaths to useful places. I'm using Aqua icons that are somewhere on kde-look.

Requires superkaramba-0.24

Todo:
+ Screenshot of window as icons for minimised windows
+ Zoom and bounce FX
+ Artwork (any volunteers?)
Last changelog:

17 years ago

0.28 Realised that I forgot to fix some outstanding bugs relating to smoothZooming... :( Hopefully they're fixed now.
0.27 Just a little update to improve the performance. Uses less memory and less processor now, especially when nothing's happening. Really only OSXDocker.py has changed, nothing else; so you can just untar that file and overwrite it, if you were so inclined... :p
0.26 Added little names above the icons. Please read the READE!! The format of Buttons.txt has been change _very_ slightly, but in an incompatible nature. And you'll need to use SK 0.24 (I know, but it's necessary... :) )
0.25 Added smooth icon zooming. See Conf.py for options.
0.21 Cleaned up code and improvement installation ease. The customisations are entirely in Conf.py and a new file Buttons.txt (or some other file, as specified in Conf.py)
0.20 I managed to bring out a brand new feature on a big version change!! Weyhay! The docker now recognises minimised windows. Please, please, please tell me if things start borking... :D Configuration is as usual in Conf.py
0.19 Please use superkaramba-0.23 now. Thanks to ageitgey for the new smooth resizing! The icons now look much smoother. I've added an option in Conf.py to remove unused icons from memory.
0.18 Added ability to cycle through windows that are listed under same button/icon by using the scroll wheel
0.17 By default get icons from icon themes listed in Conf.py
0.15 Added ability to get icons from the KDE themes, and all apps should show up from now on, even if it is with a question mark as icon. Edit themePaths in Conf.py to set the icon sets that you want to look through.
0.1b Bug fix for certain apps not being recognised properly
0.1 Initial attempt

newclaud

17 years ago

Sorry genneth,
i'd like use your bar but i'm not able to configure the correct path "iconPath" and "themePath".
To understand which are that correct path what can i do? i don't know how are they beacuse i use MDK control center to configure Acqua Icons and i don't know where they are.
To understand can i find a particular file to know which are the correct paths? ...i can use "find file"
Sorry!

Report

C

genneth

17 years ago

Don't change iconPath.

Report

wurz25

17 years ago

i used the kde themepath:
SuSE
/opt/kde3/share/icon/

nico

Report

newclaud

17 years ago

Thanks...so the "themePath" is something like: /opt/kde3/share/icon/
...but the "iconPath"?

...i've got MDK 9.1 ...if there is something that have this distro...! :)

Report

wurz25

17 years ago

by the way: has anyone a solution for the kmenu with kickpim issue ?
kmenu not work when kickpim is installed.
And how can i start kickpim (or other kicker applets) from within MacOSX Docker ?

greetings
nico

Report

wurz25

17 years ago

i think we have currently 3 dockers:
1. Dynbar
2. Kroller
3.MacOSX
-Dynbar has a cool configuratibility.
-Kroller has the best smooth zoom and performance (really).
-But MacOSX has the greatest funktionality, witch i never want missing.

wurz

Report

C

genneth

17 years ago

I learnt the superkaramba api moreorless through DynBar, and I'm currently looking at Kroller to see what optimisations I can put in.

Report

qeldroma

17 years ago

Following the errormessage:
making icon kmenu
found icon /usr/share/apps/karamba/themes/Icons/././kmenu.png for kmenu
Traceback (most recent call last):
File "/usr/share/apps/karamba/themes/OSXDocker.py", line 191, in widgetUpdated
icons[explode[1]] = createIcon(widget, explode[1])
File "/usr/share/apps/karamba/themes/OSXDocker.py", line 89, in createIcon
karamba.resizeImageSmooth(widget, ret[i+1], 48+adjustment, 48+adjustment)
AttributeError: 'module' object has no attribute 'resizeImageSmooth'
Call to widgetUpdated failed

Report

C

genneth

17 years ago

Superkaramba 0.23? The version is important. resizeImageSmooth was only brought out in 0.23.

Report

anilet

17 years ago

While trying to load the theme
I gets the error
File "/home/et/public/looknfeel/karamaba/OSXDocker/OSXDocker.py", line 132, in widgetUpdated
conf = file(configurationFile, "r")
IOError: [Errno 2] No such file or directory: 'Buttons.txt'
Call to widgetUpdated failed

Using with superkaramba-.23
Anil

Report

C

genneth

17 years ago

Yeah... sorry about that. I realised my mistake just after releasing the package. You should change the "configurationFile" on that line to read "basePath+configurationFile". I'll be releasing a new package soon anyway.

Report

smeat

17 years ago

Do you think it would be possible to have a tooltip popup when you hoover over a minimized task that would display the title of the window. It gets kinda hard to track which Konq window is which without.

You know what would be even better is a snapshot of the window like OSX does. If you look at the KasBar extension to Kicker it supports something like this. Minimize a window and when you hoover over it's icon on the KasBar it pops up a snapshot of the window. It would be awesome if we could do something like this, be it an icon of the snapshot in the Docker or if it popped up like the KasBar does it. This is probably something I will have to mention to the superkaramba guy too. I am sure it would require an API for it.


Thanks again.


smeat!

Report

C

genneth

17 years ago

I'm working on that point, it's just that it's not easy to get text to appear at the right place, especially since I can't move text around (the API isn't there). As for the screeshot, it's on my list of todos, and I'm looking at the Qt code neccessary.

Report

WhitePanther5000

17 years ago

I'm extremely impressed with SuperKaramba and specifically with your Docker! It's so amazing how much Linux has evolved over the past 12 years, from its inital starting as "a hacker's playtoy". Keep up the good work! I'm looking forward to the final release of this where all the fancy stuff has been added like the bouncing buttons and smooth zoom, and better handling of certain things. When that happens it may be programmed in C and become an offical package for some distrobutions. Great job!

-Jon

Report

WhitePanther5000

17 years ago

or maybe an official KDE package

Report

C

genneth

17 years ago

Thank you! I think its a bit too ambitious to be thinking about distro inclusion, though it would certainly be nice! :D

Report

newclaud

17 years ago

Hi,
i'd like use your MacOSX bar (is very beautiful) but i'm not able to configure it!
i've downloaded SuperKaramba 0.23 (the MDK RPM beacause i've got MDK 9.1).
i've installed icon set Acqua in KDE control center and i don't know where are icons or theme file!!!
i'd like know how configure Conf.py file but i'm not able!! ...this is the error that i see when lunch your file:

[[email protected] claudio]$ cd /usr/bin/
[[email protected] bin]$ superkaramba
karamba: TaskManager::TaskManager()
Loaded my python extension!
Traceback (most recent call last):
File "/home/claudio/Utility/SuperKaramba 0.23/OSXDocker/OSXDocker.py", line 32, in initWidget
themePaths.append(basePath+iconPath)
AttributeError: 'str' object has no attribute 'append'
Call to initWidget failed
icon not found for kmenu
icon not found for xapp
icon not found for xapp

...can you tell me what can i do and what do i search to know what are the correct directory to set in the conf file? ...and how many lines i have to add to configure...HELP! :)

Report

C

genneth

17 years ago

Your themePaths constant has to be a list like [ "/this/path/here/", "/another/path/there/" ]. I'm working on a set of easy to edit configuration files for the icons and buttons.

Report

xKeek

17 years ago

Hi, could someone give me a detailed installation explantion for this theme. I tried already everything. I'm a total newbie and using suse linux 8.2. What do I have to do? Thanks for answers!!!

xKeek

Report

sleepwalkers

17 years ago

Read the How to Install...

Report

secretmethod70

17 years ago

I really like the dock idea and plan to try it out as soon as I get some of the more basic things set! :)

For example, what is the window decoration that you're using in that screenshot? I can't seem to find any OS X like window decorations that look that good.

Report

C

genneth

17 years ago

The decorations are on kde-look, I think it's call AquaOSK

Report

smeat

17 years ago

I am wondering if there is functionality in SuperKaramba to allow you to create a context menu when you right click on an icon. It would be like the TaskBar applet's menus when you right click.

Another thing I just thought of, if there are multiples copies of a program running the MacOSX Docker does not handle it very well. It would be nice if you could pop up a context menu that allows you to select the app to work with, like the TaskBar grouped tasks function. I will post this question to the superkaramba topic as well.

The last thing I am wondering is if you are planning on implementing the icon bounce stuff from your Docker bar?

Thank you for your work on MacOSX Docker it is really shaping up.


smeat!

Report

C

genneth

17 years ago

I've put out a new version, which can now cycle through windows. Use the mouse wheel. Thank you very much for your suggestion. Keep 'em coming.

Report

C

genneth

17 years ago

That bouncing and zooming stuff are definitely going to be put in, but there would be a prodigious memory usage (in the order of 50Mb). As far as the context menu goes, I'm sure that could be done, except that I've run out of mouse buttons.... :p LMB is activate, and middle is to launch a new instance of that app.

Thank you.

Report

17 years ago

0.28 Realised that I forgot to fix some outstanding bugs relating to smoothZooming... :( Hopefully they're fixed now.
0.27 Just a little update to improve the performance. Uses less memory and less processor now, especially when nothing's happening. Really only OSXDocker.py has changed, nothing else; so you can just untar that file and overwrite it, if you were so inclined... :p
0.26 Added little names above the icons. Please read the READE!! The format of Buttons.txt has been change _very_ slightly, but in an incompatible nature. And you'll need to use SK 0.24 (I know, but it's necessary... :) )
0.25 Added smooth icon zooming. See Conf.py for options.
0.21 Cleaned up code and improvement installation ease. The customisations are entirely in Conf.py and a new file Buttons.txt (or some other file, as specified in Conf.py)
0.20 I managed to bring out a brand new feature on a big version change!! Weyhay! The docker now recognises minimised windows. Please, please, please tell me if things start borking... :D Configuration is as usual in Conf.py
0.19 Please use superkaramba-0.23 now. Thanks to ageitgey for the new smooth resizing! The icons now look much smoother. I've added an option in Conf.py to remove unused icons from memory.
0.18 Added ability to cycle through windows that are listed under same button/icon by using the scroll wheel
0.17 By default get icons from icon themes listed in Conf.py
0.15 Added ability to get icons from the KDE themes, and all apps should show up from now on, even if it is with a question mark as icon. Edit themePaths in Conf.py to set the icon sets that you want to look through.
0.1b Bug fix for certain apps not being recognised properly
0.1 Initial attempt

12345678910
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.28
updated May 12 2003
added May 07 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 3