I have a multi-workspace setup, with the "workspace switcher" gadget in a corner of the screen that lets me select one of six (3x2) workspaces.
I would like to be able to launch specific applications in specific desktops (eg from scripts), e.g.
firefox --workspace 0 1
evince --workspace 0 2
launch-in-workspace 0 1 firefox
launch-in-workspace 0 2 evince
(or whatever). Is anything like that possible?
The closest I found was the CompizConfig Settings Manager, as specified in this thread: http://ubuntuforums.org/showthread.php?t=844385
That allows me to say, for example, that Firefox should ALWAYS appear on workspace 0 1 and evince on 0 2, which is subtly different. For example, if I subsequently double-click to open a pdf in any other workspace, then the pdf window opens in the designated evince workspace instead of where I am (and want it).
So I don't want a global configuration to say "the windows of this application shall always go in that workspace". Instead I would like a command-line option, or a wrapper, that lets me say where to put the application I'm launching, for THIS invocation and not globally, so that I could do for example
launch-in-workspace 0 1 evince document1.pdf
launch-in-workspace 1 1 evince document2.pdf
Is this possible? How?