KDocker

Utilities

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:

Ever wished your favourite editor/im/media player had system tray
docking capabilities? KDocker will help you dock any application in the system tray. This means you can dock openoffice, firefox, thunderbolt, anything! Just point and click. Works for both KDE and GNOME (and reportedly on XFCE)

You can also launch and dock applications using the command line
kdocker -mt xmms
kdocker -m gaim
kdocker kcalc
kdocker -l firefox (will autolaunch firefox)

kdocker -h for more options & features

IMPORTANT: Make sure KDocker is in your $PATH for Session Management to work. I
created a link in /usr/bin to point to kdocker. KDocker will automatically dock
all the programs that you had docked in your previous session when you log on
the next time (provided they were all docked when you logged out).

Read the INSTALL and README for all the gory details.
Last changelog:

14 years ago

for version 1.3
- Fix bug when reading back balloon timeout on session restoration
- AutoLaunch enhancement (Request user to provide program name when
autodetection failed)
- Indonesian translations from Eko Prasetiyo
- Italian translations from Alessio Cassibba
- Updated Brazilian Portuguese translations

juanjux

15 years ago

Uh sorry, wrong thread, ignore this message :D

Report

shodekiagari

15 years ago

Awesome application but is there any way to kill the #$*%& tooltips? They're driving me mad with their popping up every five seconds. Thanks.

Report

C

cs19713

15 years ago

I have fixed the issue and it will be released very shortly.

You can kill them for now, by choosing unchecking "Balloon title changes" in the menu.

Report

vdboor

15 years ago

Yesterday I noticed this tool: ksystraycmd.. when I read your description, it almost look like you're creating something that already exists..?

I could be wrong off course.. :-/

Report

C

cs19713

15 years ago

ksystraycmd has lots of problems. Try,
"ksystraycmd gaim" or "ksystraycmd xmms". Wont work.

Please read,
http://groups.google.com/groups?q=gramakri&hl=en&lr=&ie=UTF-8&selm=1087276113.879091%40sj-nntpcache-5&rnum=1

Report

thomasmg

15 years ago

I got the following compilation error:
src/qtraylabel.cpp: In destructor `virtual QTrayLabel::~QTrayLabel()':
src/qtraylabel.cpp:79: error: `exit' undeclared (first use this function)
src/qtraylabel.cpp:79: error: (Each undeclared identifier is reported only once
for each function it appears in.)

Including stdlib.h in qtraylabel solves this problem.

Thanks for this useful app.
Maybe you should also mention in the README that you can add KDocker to the KMenu and assign a shortcut for it.
Now the only thing I need to dock a window is to press Win+^ and click on that window (like XKill).

Report

C

cs19713

15 years ago

Made the change and put your suggestion in README. Thanks

Report

Edulix

15 years ago

This application is really a good idea. I think that you might be interested in a feature requesting something very similar to what you've done: http://bugs.kde.org/show_bug.cgi?id=22375

BTW, I've got some ideas that may improove kdocker:

- I think that a make install command should be wonderful =). BTW, I had to manually build the png icon because I only saw a xpm.

- Does it support localization or have you thought about it? I offer myself to translate it to my mother tongue, Spanish.

- I suggest you to give the bug report I mentioned a try, because it has some good ideas you might want to support ;-).

Report

C

cs19713

15 years ago

Hey, this is easier than I thought. In fact i just added all the i18n support and checked them in. Take the english one in i18n folder in cvs and use linguist to create the spanish one. Mail it to me at gramakri@uiuc.edu.

Creating translations for my native language (tamil) and other languages I know hindi, kannada :)

Report

C

cs19713

15 years ago

It would be nice to have some 18n code. Here's me TODO list,
1. Start apps from command line. So, "kdocker xmms" would start xmms and dock it automatically. Nice to use this feature in startup scripts. I am having difficulty get it work for all apps.

2. The code in CVS is horribly idented. Mostly because I mixed whitespaces and tabs. It looks fine here but people have complained. I will finish this up as soon as I can so you can work on i18n.

3. Make install

I have never Internationalized and have no idea how to go about it. Maybe you can help me out. I am reading http://doc.trolltech.com/3.2/i18n.html right now :)

Anything more that needs to be in TODO?

Report

Edulix

15 years ago

"2. The code in CVS is horribly idented"

I just thought: Using Reg. Exp. in a simple bash script you could replace every 4/8 spaces of the lines' beginning with a tab.
Maybe even there's a Kdevelop plugin for that, if not, there should be one! :P

About the i18n translations, Now, I'll checkout the CVS code and start translating.

BTW, have you read the bug report I mentioned? Actually It's essentially about the same as kdock: docking any apps into the dock.

But it differ in the way of docking: instead of executting kodck and clicking in the app we want to dock, it says that it would be nice "to have a "Dock into panel" option in the window operations menu for every window to do something like minimize to tray".

The only problem I've found so far is that it would only work in kwin of course..

I know you've already added the i18n support, but anyway, I'll tell you that I'm learning C++, so I most probably try to play with the code, but I don't think I can do something productive with it... uhm who knows ? .

Report

Superstoned

15 years ago

this is really nice, kdocker has solved the irritating "xmms always fills a place on the taskbar". thanx thanx thanx alot!

Report

XpirateX

15 years ago

Not to detract from this lovely app, but another alternative (specific to XMMS) is to get the "Status Docklet Plugin" (http://www.hellion.org.uk/xmms-status-plugin/) and configure kicker to only display minimized programs.

Although, having only minimized applications show up in kicker is a bit annoying. Thank you for this lovely fix.

Report

C

cs19713

15 years ago

Thanks :)

Report

uebergod

15 years ago

1. With xmms, when you have the EQ or playlist window open and you dock it, when restored, they are hidden.
2. With everything, when you restore a docked application which wasn't maximized or doens't take up the whole screen it pops up on the far left of the screen, a nice little 'remember window location' feature would be nice.
3. I'm not sure of how to (or if you can) 'change your mind' on docking something, let's say you run kdocker (i have bound it to ctrl+alt+d) then you decide you don't want to use it, you can't just hit [ESC] or something to cancel it, you have to dock something then just undock it.
4. It'd be nice to have a command-line argument to run a program docked, much like ksystraycmd does. This way you could even go as far as to add a servicemenu (right click option (Actions menu)) to launch a a desktop icon docked.
5. Perhaps it'd be nice to be able to run kdocker, then follow through the K menu to an application to run docked, as to where now if you run it and click on the K menu it docks kicker, in turn hiding it and the only way to get it back is to kill that instance of kdocker. I doubt anyone would want to dock the taskbar, considering that'd hide the docking panel all together...
Aside from this, it's an awesome little tool. good work! keep it up! ;)

Report

C

cs19713

15 years ago

1. i get the issue with xmms but i dont think much can be done. let me see how ksyswintraycmd handles them (if it does). the same happens with the playlist.
3. instead of left clicking, right click and it wont dock it

2,4,5. on my TODO. 2 is very annoying, i have to say.

Thanks for the comments

Report

maitre

15 years ago

If this helps - you can get window locations using the standard xwininfo command. I don't know if you can integrate it but its there. :)

Report

Superstoned

15 years ago

xmms is continually showwing the tooltip, cuz the time is changing... :(this isnt what it should do, isnt it?)

and now xmms crashes sometimes - cuz when I clik its dock-icon, it doesnt maximize, but opens minimized on the taskbar (just like before). so when I use "dock when minimized" and I click the icon, xmms opens (minimized...) so it crashes kdocker, or just nothing happens, and I cant get xmms to show, unless I unclick "dock when minimized" :(

btw I use kdocker anyway now, cuz it hides xmms from the taskbar. but I want to see the window, but nothing on the taskbar... so it can get even better.

Report

uebergod

15 years ago

Disable the "Balloon title changes" option by right-clicking on your xmms docked icon... that'll keep it from constantly showing the tooltip.

Report

Superstoned

15 years ago

you're very responsive, that's nice ;-)

and the app is getting more usefull this way... thanx thanx thanx! I was waiting for a way to dock xmms for some time, so I hope this can be done now asap!

Report

Superstoned

15 years ago

it works now.

But I have a request:
I have xmms normally on top-right, with always on top and on all desktops. but then it shows a button on the taskbar. I hoped kdocker could make the window show in the systray (taking less space) instead of on the taskbar, but behave the same (eg click = minimize (now just shows the taskbarbutton, I have to click that to maximize, even if I clicked the kdocker xmms button when it was maximized :() and click again = maximize (but no taskbarbutton).

maybe you can do that?
And I think this could work great with that ksystraycmd if you would let this work:
(in kde/autostart): "kdocker -notaskbar -show /usr/bin/xmms"

I guess this way the code can partly be merged, isnt it? and this tool can be integrated in KDE!!!

Report

C

cs19713

15 years ago

i think it requires me to tweak a few of the window manager hints. technically its possible, but i want to make sure i dont violate icccm. And also not break any toolkit code. check this space tommorrow :)

Report

Superstoned

15 years ago

a nice tool. I can run the executable, and it works fine. but when I do make:

g++ -c -pipe -Wall -W -O2 -march=i386 -mcpu=i686 -g -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions -DQT_NO_DEBUG -I/usr/lib/qt3//mkspecs/default -I. -I. -Isrc -I/usr/include/X11 -I/usr/lib/qt3//include -I./tmp/ -o ./tmp/kdocker.o src/kdocker.cpp
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
g++ -c -pipe -Wall -W -O2 -march=i386 -mcpu=i686 -g -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions -DQT_NO_DEBUG -I/usr/lib/qt3//mkspecs/default -I. -I. -Isrc -I/usr/include/X11 -I/usr/lib/qt3//include -I./tmp/ -o ./tmp/qtraylabel.o src/qtraylabel.cpp
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
/usr/lib/qt3//bin/moc src/qtraylabel.h -o tmp/moc_qtraylabel.cpp
g++ -c -pipe -Wall -W -O2 -march=i386 -mcpu=i686 -g -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions -DQT_NO_DEBUG -I/usr/lib/qt3//mkspecs/default -I. -I. -Isrc -I/usr/include/X11 -I/usr/lib/qt3//include -I./tmp/ -o ./tmp/moc_qtraylabel.o tmp/moc_qtraylabel.cpp
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
test -d ./ || mkdir -p ./
g++ -o ./kdocker ./tmp/kdocker.o ./tmp/qtraylabel.o ./tmp/moc_qtraylabel.o -L/usr/lib/qt3//lib -L/usr/X11R6/lib -lXpm -lqt-mt -lXext -lX11 -lm
./tmp/qtraylabel.o(.text+0x200d): In function `QTrayLabel::selectAndDock()':
src/qtraylabel.cpp:170: undefined reference to `XmuClientWindow'
collect2: ld returned 1 exit status
make: *** [kdocker] Error 1

Report

C

cs19713

15 years ago

after changing the pro file,
do a "make clean" and then make

Report

C

cs19713

15 years ago

-lXmu needs to be added in the pro file. I will check in the changes in CVS.

Basically in kdocker.pro, change
LIBS += -lXpm
to
LIBS += -lXpm -lXmu

Now run make. Thanks for letting me know. For some reason it builds without it on mine

Report

14 years ago

for version 1.3
- Fix bug when reading back balloon timeout on session restoration
- AutoLaunch enhancement (Request user to provide program name when
autodetection failed)
- Indonesian translations from Eko Prasetiyo
- Italian translations from Alessio Cassibba
- Updated Brazilian Portuguese translations

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.3
updated Apr 05 2005
added Jun 14 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 10
System Tags app software