On Mon, Jun 03, 2002 at 12:27:44PM +0200, fvwm wrote:
> On Fri, May 31, 2002 at 10:08:51AM -0600, Gregg Dameron wrote:
> > Dominik Vogt wrote:
> >
> > > Oops, I must have missed the original message. Anyway, the right
> > > way to achieve this is the StartsOnScreen style:
> > >
> > > Style * StartsOnScreen c
> > >
> > > (c = current screen = screen with the pointer). Put that line in
> > > your .fvwm2rc file.
> >
> > The man page (2.4.7) speaks of this Style only in an Xinerama context.
> > Does it work for dual fvwm instances as well?
>
> No. On a multi screen setup, the application chooses the screen
> it comes up itself, usually the screen from the DISPLAY variable.
> With Xinerama, there is only one logical screen that is divided
> between several monitors. Fvwm knows the boundaries of them and
> can place windows appropriately.
By the way, you can of course control the screen on which
windows start by modifying the DISPLAY variable. If you want all
new windows on screen 1 for example, put this line at the top of
your StartFunction in fvwm:
AddToFunc StartFunction
+ I SetEnv DISPLAY :0.1
You could also write a function that calls a program that finds
out the screen number with the pointer and set the DISPLAY
variable accordingly before starting a program. But if the
pointer moves to a different screen before the window appears
that won't work.
Bye
Dominik ^_^ ^_^
--
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Jun 03 2002 - 14:03:59 BST