Re: FVWM: form to rename desktop

From: Victor Eijkhout <eijkhout_at_cs.utk.edu>
Date: Thu, 14 Mar 2002 23:27:58 -0500

> > This doesn't work:
>>
>> AddToFunc NameThisDesk
>> + "I" KillModule FvwmForm
>> + "I" Module FvwmForm NameDesk
>> DestroyModuleConfig NameDesk: *
>> *NameDesk: Line left
>> *NameDesk: Text "Name this desktop:"
>> *NameDesk: Line expand
>> *NameDesk: Input deskname 20 ""
>> *NameDesk: Button quit "OK" ^M
>> *NameDesk: Command *FvwmPager: Label * $(deskname)
>>
>> probably because FvwmPager: Label is a configuration, not a command.
>>
>> What's a better way to do it?
>
>You might try to restart the Pager
>Command KillModule FvwmPager
>Command Module FvwmPager

So I tried

*NameDesk: Button quit "OK" ^M
*NameDesk: Command *FvwmPager: Label * $(deskname)
*NameDesk: Command KillModule FvwmPager
*NameDesk: Command Module FvwmPager

I did that while on Desk #4. It renamed Desk #1 and emptied the pager
of all other desks.

Rereading the resource file as part of the commands makes no difference.
-- 
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.
Received on Fri Mar 15 2002 - 07:33:57 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST