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

Wednesday, November 23rd 2005, 12:40am

Commands for working with multiple workspaces

Hi there, first topic here, so I'm probably in the wrong place... Anyway,

I wanted to know if there's some way I can use shell commands to, for example, move an existing app window from a virtual workspace to another (by the way, I'm usind KDE in portuguese, so maybe 'workspace' is not the correct term, but I guess it's understandable anyway).
The idea is to write a shell script so I wouldn't had to move a window manually every single time I login to kde, but all and any info is greatly appreciated, so if somebody could drop a few lines or link about working with workspaces, I would greatly appreciate it. An expert user could always also post something in KDE Wiki too, for future reference.

Thanks in advance!

AdaHacker

Beginner

Posts: 14

Location: Corning, NY

Occupation: Systems Analyst

  • Send private message

2

Friday, December 2nd 2005, 11:40pm

RE: Commands for working with multiple workspaces

You can probably do this with some DCOP calls. I don't know exactly which ones, but there are DCOP calls for pretty much everything else. You can browse the available interfaces with kdcop and execute them from a script with the 'dcop' command.

3

Sunday, December 4th 2005, 7:29pm

Well, took some time learning about DCOP now, and I think it works only with KDE applications, and I the ones I want to move to another virtual desktop aren't KDE apps.
Is there a way to do that with DCOP? Could anybody give me some directions? Or another, non-DCOP solution?

4

Sunday, December 4th 2005, 7:54pm

Well, just found out kde has a little nice app that's called kstart, that lets me indicate in which virtual desktop an window should appear.
Thanks anyway, friend. Hope this post helps somebody in the future...