Re: placement in other workspaces?

From: Bjorn Knutsson (bjorn@docs.uu.se)
Date: Fri Feb 21 2003 - 20:08:07 CET


On 21 Feb 2003 09:46, James Pace wrote:
>
> I've got 9 workspaces, and at startup I want to put some windows
> in WS 1, and mozilla in workspace 2 and other stuff in other
> workspaces.
>
> Can I do that?

Sure, lets say you have the following defined:

WorkSpaces { # Define these workspaces
        "first" {"goldenrod" "black" "goldenrod" "black" }
        "mozilla" {"light sea green" "black" "light sea green" "black" }
        "other" {"magenta3" "black" "magenta3" "black" }
}

Occupy { # Default occupy
        Workspace "mozilla" {
                "mozilla-bin" "Mozilla-bin" "mozilla" "Mozilla"
        }
        Workspace "other" {
                  "xmms"
        }
}

Now, all your Mozillas will always come up in the mozilla workspace,
and xmms will always open in the "other" workspace.

You can do the same trick with any other application, just associate
its (X) name with a workspace.

If your application allows you to use -xrm (xterm would be one such
example), you could start them from a shell in the "first" workspace
with:

# xterm -xrm ctwm.workspace:other &

to have them actually show up in the "other" workspace.

/Björn



This archive was generated by hypermail 2.1.4 : Sat Feb 22 2003 - 06:45:03 CET