On Tue, Dec 02, 2003 at 08:09:26PM +0200, stu wrote: > On Tue, 2 Dec 2003 09:36:32 +0100 > Dominik Vogt <fvwm@fvwm.org> wrote: > > > On Tue, Dec 02, 2003 at 12:27:41PM +0200, stu wrote: > > > On Thu, 27 Nov 2003 12:34:18 +0100 > > > Dominik Vogt <fvwm@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 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 > > Thanks! A few lessons in --geometry later and my windows are starting to > appear where I want them. > > Is there any way for fvwm to determine what the current value of > "displaywidth"
Yes, the $[vp.width] variable does this, but for some reason, in + I Exec exec konsole --geometry +$[vp.width]+0 it does not get expanded wo a number. I didn't have the time to investigate why yet. > (used in the example above) is, so that I don't have to > hard-code it into my config? 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]