Hello --

On 08/11/2007, Paul Novak <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 08, 2007 at 12:34:48PM +0000, Thomas Adam wrote:
> > >
> > > in my config file and I want to start an exterm on desk 0, page 0 0
> > > and another on desk 0, page 0 1.  In my InitFunction I have this line
> > > for the second x term instance:
> ...
>
> > "*Page..." stuff is part of the title in addition to what you already
> > have it set as.  But that's nonsense of course, since you really want
> > to tell XTerm that the "page" string is an xrm hint, so tell it so:
> >
> > +   "I" Exec xterm -T minnie  -xrm "*Page:0 0 1"
> >
> > Note also that unless you're on FVWM 2.4.X, you shouldn't be using
> > InitFunction in lieu of StartFunction.  If you really want to have
> > this "minnie" window happen on Init, use:
> >
> > AddToFunc StartFunction I Test (Init) Exec exec xterm -T minnie  -xrm
> > "*Page:0 0 1"
> >
> > I'd also ask you -why- you don't just forget this approach and use:
> >
> > Style minnie StartsOnPage 0 0 1
> >
> > Or something similar.  if you ever decided to change minnie to another
> > terminal emulator, then not all of them honour the -xrm hints.
>
> I've wondered silently about his for years.  Thank you for answering it!

I've written about this in much much more detail before now:

http://fvwm.lair.be/viewtopic.php?f=40&t=1505

> I'm running Slackware 12.0 with fvwm2 version 2.4.20 (because that's what
> Slackware 12.0 comes with).

That's OK, but you'll find using FVWM 2.5.X a lot more beneficial.
Almost all of the configs use features not found in 2.4.X alas.

> I'd like to start firefox on a particular page.  I can't get that to
> work with version 2.4.20.

That's probably down to the EWMHness of firefox, although I don't see why:

Style Firefox-bin StartsOnPage X Y

wouldn't work.  That's the way you would do it in FVWM 2.5.X as well
-- note though that you should be using the window's *class* given the
variable and long nature of the window's title, see:

http://linuxgazette.net/127/adam.html

> If I upgraded to fvwm2 2.5.* and figure out the new syntax, would
> I be able to pick the page that any application (including firefox)
> starts on?

Given that there's no difference, sure.  :P

-- Thomas Adam

Reply via email to