xterm -xrm "*Desk:2"
But tcl/tk doesn't seem to understand this resource. Is there a way
to do this? Perhaps there is a mechanism to send fvwm commands from
the tcl/tk application to the wm?
-Mark
I *believe* that the way this works is that fvwm parses the WM_COMMAND property
on the newly created window and if it sees something like the above, then it
puts the xterm on the nominated desktop.
Anyway, to achieve the same effect for a Tk application, you'd need something
like
wm command . "myapp -xrm *Desk:2"
somewhere in your script (not in a procedure that isn't executed until the main
window is mapped, fvwm won't move an application around I suspect).
--
John Haxby
These are my opinions, not my employer's.
Add a style line to .fvwmrc or /////system.fvwmrc
Style "*Desk" StartsOnDesk 4