On Fri, 15 Mar 2002, Victor Eijkhout wrote:
> At 8:53 -0500 15/3/2002, Dan Espen wrote:
> > > *NameDesk: Button quit "OK" ^M
> >> *NameDesk: Command *FvwmPager: Label * $(deskname)
> >> *NameDesk: Command KillModule FvwmPager
> > > *NameDesk: Command Module FvwmPager
>
>
> >Those module commands, (the commands starting with "*"), add
> >up. Ie. FVWM saves all of them and then sends them to the module
> >when it starts.
> >
> >What you might want to do is add a "DestroyModuleConfig" followed by
> >all the module commands for the Pager each time you restart the pager.
>
> I tried something like that. Having all the pager configuration in a
> file, and sourcing it.
>
> The problem remains the renaming: I can write "Label * <new name>" at
> the end of that file, but that "*" does not expand to a real number.
>
> I'm starting to conclude that what I want is not possible with fvwm.
> (Let's hope them's fightin' words to some around here :-)
What you can do is to have files that contain the desktop names, like:
.fvwm/desk0 .fvwm/desk1 for example
and let the script echo the name to the correct file (using FvwmCommand I
think..)
And then write a function that creates the module configuartion and
(re)starts a pager.
This also makes the name "stick" through logins.
I believe this is possible
//Marcus
>
> --
> Victor Eijkhout <eijkhout_at_cs.utk.edu>
> tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F)
> http://www.cs.utk.edu/~eijkhout/
> --
> 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.
>
--
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 Fri Mar 15 2002 - 09:31:17 GMT