On Mon, Oct 09, 2000 at 04:58:49PM +0300, Peter Peltonen wrote:
> "man X" gives me the following information:
>
> >From the user's perspective, every X server has a display
> name of the form:
>
> --snip--
> hostname:displaynumber.screennumber
>
> This information is used by the application to determine
> how it should connect to the server and which screen it
> should use by default (on displays with multiple moni�
> tors):
> --snip--
>
> Now, when I try rxvt -display unix:0.0, it works fine. But
> when I try rxvt -display unix:0.1, I get the following error
> message:
>
> rxvt: can't open display unix:0.1
>
Yup.
> Have I misunderstood X's behaviour, is my X broken or does
> Blackbox not support this feature (or what is workspace if
> not a screen)?
You've misunderstood X's behavior. In X a screen is, more or
less, literally a screen (of a monitor, that is) -- they usually
only come into play on multi-head systems. Blackbox's workspaces
are just a trick pulled off by bb behind the scenes. As the
window manager in residence, bb has control over which windows
are visible, iconified, etc, and uses that authority to hide/show
the appropriate windows. When you switch workspaces, all blackbox
does is hide all the windows on the current workspace and then
show all the windows on the new one.
> I'm asking this because I really would like to define to my
> .Xclients file to open apps in different workspaces when I
> start X...
At present there's no nice (ie portable) way to do this. The
NET window manager spec will provide a consistent way for
apps to request this sort of thing. Then it'll just be a matter
of getting all the apps and window managers up to par.
Jeff Raven