You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, July 20th 2008, 6:16am

dcop calls

Hello, all. Does anyone know where I might get some good docs on the available dcop calls that I might make? I have a dual display environment and sometimes I want to move a maximized window to the other display. I'm thinking that the best approach would be to write a bash script that would make several dcop shell calls:

1. Locate window with focus.
2. Determine display window is on.
3. Determine root coordinates of next display.
4. Add to the window's coordinates the difference between its current display's root coordinates and the next display's root coordinates.

Then, I could bind the script to a keystroke and be able to bounce my windows back and forth with ease. My problem is determining where I can find the functions to call via DCOP to do this thing. Does anyone have any recommendations as to where I can start?

Thanks!

2

Tuesday, July 22nd 2008, 3:31pm

Hello,

you can get the best overview with dcop in the CLI, or you can also use kdcop. it gives you an overview of all possible function calls for all running kde apps.

Similar threads