>>>>> Kai Grossjohann schreibt:
Kai> Now, how do you send those Style commands to Fvwm from
Kai> a shell script?
Do you really want to do that? I normally do one of the following
to change Style settings on the fly.
If I get a sudden notion to make some ad hoc change, I just use
FvwmTalk to send the appropriate command to fvwm.
If it's something that I do quite often, then I define functions and/or
menu items in my .fvwmrc. Something like
AddToFunc XtermOnDesk3 Nop
+ "I" Style "xterm" StartsOnDesk 3
+ "I" Exec xterm -[my favorite xterm opts]
+ "I" Style "xterm" StartsAnyWhere
would do the trick, with maybe a menu item like
AddToMenu Some-Misc-Stuff "Some Miscellaneous Stuff" Title
+ "Start Special Xterm on Desk 3" XtermOnDesk3
Note that once you've defined a function, you can invoke it on the fly
just like any built-in fvwm function. So you could just say "XtermOnDesk3"
via FvwmTalk.
Hope this helps. If you really, really, really, really need to send fvwm
commands from a script, you may need to look at doing a hack of FvwmTalk
to catch your script's stdout.
Cheers,
Bob
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Dec 12 1996 - 13:13:39 GMT