Re: FVWM: Auto-starting apps at fvwm startup

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Tue, 2 Dec 2003 09:36:32 +0100

On Tue, Dec 02, 2003 at 12:27:41PM +0200, stu wrote:
> On Thu, 27 Nov 2003 12:34:18 +0100
> Dominik Vogt <fvwm_at_fvwm.org> wrote:
> AddToFunc InitFunction
> + I Exec exec sylpheed-claws
> + I GotoPage 2 0
> + I Exec exec konsole
> + I GotoPage 3 0
> + I Exec exec konsole
> + I GotoPage 0 0
>
> I expect the instructions in the above"InitFunction" to be executed
> sequentially, ie execute sylpheed, go to page 2, start konsole on that
> page, go to page 3, start konsole on that page too, and then go to page
> 1. However, things are not working as I expect.
>
> The two konsole sessions both start on page 1, instead of on page 2 and
> page 3. How could I get around this? Are there any FAQs I can read etc?
> konsole doesn't seem to accept the --geometry parameter, and I don't
> want to use a "StartsOnPage" style option on it, as I start it up in
> more than one place.

The commands *are* run sequentially, but without the "Wait" fvwm
does not wait for the "konsole" windows. Try the --geometry
option for konsole:

  AddToFunc InitFunction
  + I Exec exec sylpheed-claws
  + I Exec exec konsole --geometry +<2xdisplaywidth>+0
  + I Exec exec konsole --geometry +<3xdisplaywidth>+0

Ciao

Dominik ^_^ ^_^
--
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 Dec 02 2003 - 02:39:10 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST