On 11 Aug 2000 13:55:38 +0200, Frank Derichsweiler wrote:
>
> On Wed, Aug 09, 2000 at 10:13:51PM -0700, Michael Han wrote:
> > > > > I would like to start applications on different pages during start up
> > > > > of fvwm 2.2.4.
> > > > > I tried the following in my .fvwm2rc
> > > > > AddToFunc InitFunction
> > > > > + "I" GotoPage 0 0
> > > > > + "I" Exec <FirstApplication>
> > > > > + "I" Exec <SecondApplication>
> > > > > + "I" GotoPage 0 1
> > > > > + "I" Exec <ThirdApplication>
> > > > >
> > > >
> > > > In the latest Betas we have better ways to do this, but
> > > > this worked for me:
> > >
> >
> > Look into StartsOnPage/StartsOnDesk, as well as various Placement
> > options and the SkipMaping Style.
>
> Thanks for that tip, but AFAIK affect those options all programs which
> have the named window label.
> E.g. Setting a StartsOnPage for Netscape means that Netscape will
> always start on that page. My apps have one instance which has to be
> started during the startup of my fvwm session, but another instance
> can be started later within the fvwm session, this instance should
> stay on the actual page and not on that for the former one.
> OK, I can change the window label specially for the first instance,
> but I do not like that.
There is one more solution, not using GotoPage or StartsOnPage.
Use the following or similar function to start your specific app.
AddToFunc StartNetscape
+ I Exec exec netscape
+ I Wait Netscape
+ I Next (Netscape) MoveToPage 0 1
This should solve your problem without switching pages. It's also possible
to use None and an additional function if you want even more complex logic.
Regards,
Mikhael.
--
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 Tue Aug 15 2000 - 05:58:04 BST