On 13 Oct 2004 22:17:56 +0200, Daniel M. wrote:
>
> >Hm, are you aware that such a script is included in the fvwm
> >tarball? Look for fvwm-menu-directory.
>
> If I understood the man page correctly, it doesn't do what I want
> - it creates a kind of a directory browser, but I want to create
> a regular menu. The other solution can be to create Gnome/Kde
> menu and then run a script included with fwvm to convert that menu
> to fvwm's format.
I think it would be better to warn people not to run the included script
on random directories, since it just slightly preprocesses the content of
all files and dirs and dumps it (binary or not).
If I understand you correctly, you want to create an alternative syntax
for menus and use a specially prepared dir structure and file contents
for this purpose.
I think there is an error in the script somewhere that gives you the
problem. I suggest to add "DestroyMenu" commands before "AddToMenu", so
you could PipeRead the script more than once.
> when I try to pop up one of the created menus (executing "popup XYZ"
> from FvwmConsole), I get an error:
>
> "Menu XYZ does not exists".
>
> If I ran the script manually and copy/paste it's output into
> FvwmConsole and then try to pop up menus, it works.
I guess the actual error message is "No such menu XYZ". Maybe you run the
script manually with different parameters and then get menu XYZ defined?
I suggest to examine again the config line you use to run the script and
its output.
If you still think there is a problem in fvwm, then:
* pack the whole dir used to define the menus to tar.gz and send it
* prepare a minimal .fvwm2rc config file with 2-3 lines that shows the
"No such menu XYZ" problem and send it
* send the new script version that does "DestroyMenu" first
* send the output of the same script command you have in the minimal
config file (with menu XYZ defined, just to compare the results)
It is possible you will find the problem before completing these steps.
Regards,
Mikhael.
--
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 Wed Oct 13 2004 - 17:01:27 BST