Re: FVWM: Auto-starting apps at fvwm startup

From: stu <swl_at_ucs.co.za>
Date: Tue, 2 Dec 2003 20:09:26 +0200

On Tue, 2 Dec 2003 09:36:32 +0100
Dominik Vogt <fvwm_at_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_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 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" (used in the example above) is, so that I don't have to
hard-code it into my config?

-- 
Stuart Logie
Programmer
UNIVERSAL COMPUTER SERVICES (PTY) LTD
A member of South Africa's largest retail software vendor, the UCS Group
Tel : (011) 712 1371   Cell : 082 902 5632
Fax : (011) 339 3421
Internet : http://ucs.co.za
"I am the Unconquerable Spirit."
               -- Poet Unknown
   
Powered by Debian GNU/Linux - testing/unstable
--
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 - 10:08:58 GMT

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