Xterm maximized and focus on launch

Two simple questions:

  1. How do I tell FVWM to open new windows maximized by default? If I now open Firefox it starts maximized, but xterm does not: it starts 486x343. How can I make xterm (and every other window) also open maximized? I’d rather not use xterm’s -geometry option. I’d like FVWM to do it.

  2. I’m using sloppy focus. When I start xterm and my mouse is over root (wallpaper), I won’t get keyboard focus to xterm and I have to visit in xterm window with my mouse. How can I make FVWM to allways (sloppy)focus to new windows?

  1. http://fvwm.lair.be/viewtopic.php?t=699
  2. Something like

[code]DestroyFunc StartApp
AddToFunc StartApp

  • I Exec exec $0
  • I Wait $0
  • I Next Focus[/code]
    ought to do just that, call it like
StartApp xterm