I'm using fvwm2-2.2.2-3
I have several programs (like Netscape) which I run during InitFunction and would like them to pop-up at specific locations and sizes on different desks within FVWMPager. For example, I have Desks 0 thru 3 and would like Netscape to load to Desk 1 with a certain size and location without Focus moving to Desk 1.
I define the Style like:
Style "Netscape" Icon mini-nscape.xpm, SkipMapping, StartsOnDesk 1
...add a Function call within the InitFunction
DestroyFunc "InitFunction"
AddToFunc "InitFunction"
+ "I" Function SpawnNetscape
...and have the Function defined as
DestroyFunc "SpawnNetscape"
AddToFunc "SpawnNetscape"
+ "I" Next [Netscape] Move 12p 20p
+ "I" Exec exec /usr/local/netscape/netscape
+ "I" Prev [Netscape] Maximize 91 89
Netscape pop's up on the correct desk and focus doesn't change but the Move and Maximize commands are "ignored". I've shuffled things around a couple of different ways like:
DestroyFunc "SpawnNetscape"
AddToFunc "SpawnNetscape"
+ "I" Next [Netscape] Move 12p 20p
+ "I" Next [Netscape] Maximize 91 89
+ "I" Exec exec /usr/local/netscape/netscape
But that doesn't work either. I also used FvwmIdent to find the correct Class (Netscape) and Resource (Navigator) and neither work. Most programs are easy because of "-geometry".
Thanks in advance for any advice.
Pat
______________________________________________________________
Free Internet Access from AltaVista: Get it, share it & win!
http://freeaccess.altavista.com/pika/www/initweb.jsp
--
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 Jan 24 2000 - 17:23:48 GMT