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)
Maybe I could try to get this to work when I switch to a desk,
and just startup there the application (according the the fvwm
man page), but then I'm still wondering why this above does not
really work here.
Maybe the Wait function does not wait long enough? or has a wrong
parameter?
Maybe it's not a good idea to use the cvs version really?
Thanks for any hints!
Marco Candrian
--
calmar
(o_ GNU/Linux is GREAT
//\
V_/_ http://www.calmar.ws
--
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 Mon Feb 16 2004 - 19:00:32 GMT