On Tue, 17 Feb 2004 01:58:26 +0100 calmar <[EMAIL PROTECTED]> wrote: > Hi, > > I want to start some applications during startup. > > I have the CVS Version of fvwm and I added this to the .fvwm2rc file: > > ,---- > | AddToFunc InitFunction > | + I exec fvwmsetbg -l > | + I exec emacs > | + I Wait Emacs > | + I Next (Emacs) MoveToPage 2 0 > | + I Next (Emacs) WindowStyle !Borders, NoTitle > | + I Next (Emacs) ResizeMove 100 100 0 0 > | + I exec aterm > | + I Wait aterm > | + I Next (aterm) MoveToPage 0 0 > | + I Next (aterm) WindowStyle !Borders, NoTitle > | + I Next (aterm) ResizeMove 100 100 0 0 > `---- > > > I want the application to start on a given page (and I thought I > would try to do with with the `MoveToPage' function. > I also want to give this app some Styles (like above !Borders, > NoTitle)
> But it happens that especially the MoveToPage does not work. The
> apps are showing up on the page 0 0 only. But when I invode the
> MoveToPage command after all is started up, it works. (So after 2
> hours of testing I'm also a little bit confused, and don't know
> really what works or not ... I have to admit)
I wanted to do a similar thing - see thread 'Auto-starting apps at fvwm
startup' (Date: Thu, 27 Nov 2003) for an explanation of some of your
problems. I also started with the 'Wait' and 'MoveToPage' approach, and
ended up with the following :
Style "*ylpheed*" StartsOnPage 4 0, SkipMapping
Style "gkrellm" StartsOnPage 5 0, SkipMapping
DestroyFunc InitFunction
AddToFunc InitFunction I Exec exec xterm -T xterm -geometry 80x25+0+0
+ I Exec exec sylpheed-claws
+ I Exec exec gkrellm
The only thing I don't like about 'StartsOnPage' is that it binds the
app to a particular page, no matter where you start it from, which is a
bit limiting.
--
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
pgp00000.pgp
Description: PGP signature
