Re: FVWM: Again: desktop wishes

From: Charles Hines <>
Date: Thu, 30 May 1996 09:03:58 -0400

>>>>> "Kay" == Kay Winkler <K.Winkler_at_gsi.de> writes:

Kay> ... and is it possible to dynamically change the desktop names?

Not currently, no. But the next beta, theoretically. FVWM doesn't
keep track of desktop names currently, only numbers. The pager module
associates names with these numbers, so since the next beta version
should have code to support deleting of module configuration items,
you should be able to delete that pagers saved names, rename them,
then start a new FvwmPager, which would then have the new names.

Also, you can find this in the TO-DO list:

  - Improved FvwmPager (add/rename desktops on fly)

>>>>> "Kai" == Kai Grossjohann <grossjoh_at_charly.informatik.uni-dortmund.de> writes:

Kai> When I enter the following into FvwmTalk it produces an error:
Kai> *FvwmPagerLabel 0 Bla
Kai> The error is (line continuation added for easier reading):
Kai> [FVWM][executeModule]: <<ERROR>> No such module \
Kai> /usr/local/ls6/lib/X11/fvwm2/sun4-sunos *FvwmPagerLabel

Kai> I would consider this to be a bug. What do you all think?

Yup. This is a long standing bug that I actually meant to fix in the
last release, but it was one of the things that got pushed back. It
would be required for my above suggestion and I should have it fixed
in the next beta.

Actually, it could be done now if done in a separate file loaded w/ a
Read from the FvwmTalk, or via a variation of that little dynamic-menu
trick I posted a ways back (this is off the top of my head, so there
may be small mistakes here, but you should get the drift):

AddToMenu Utilities "Restart Pager" RunNewPager

AddToFunc RunNewPager "I" KillModule FvwmPager
+ "I" Read .fvwm2rc-pagerdef
+ "I" Module FvwmPager 0 5

And .fvwm2rc-pagerdef would just contain the module config for
FvwmPager, so you could edit it then just hit the menu item to get the
new pager. Combine this with a simple FvwmForm window perhaps to
change the number of desks...hmmm...

And actually, if I make those changes I mentioned above, a nice
FvwmForm window could probably be created to do all that for you so
you wouldn't even have to edit any file manually (it'd all be done in
memory).

Although, maybe you can make an FvwmForm window that could create &
reread the file using existing functions... I don't have time to play
with this right now (in fact, I've used up too much writing this note
as it is) but if anyone toys around with this idea, be sure to post it
to the list.

Chuck
--
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 May 30 1996 - 08:40:12 BST

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