Hi!
thanx for the quick answer and sorry for the late reply...
On Sun, 3 Mar 2002, Anders K. Lyhne Th0gersen wrote:
> >
> > I am tying to use a small perlscript "fvwm-menu-dotfiles" to make
> > a menu of my dotfiles. The script outputs a menu-body like this one:
> >
> > + ".bashrc" Exec "xterm -e /usr/local/bin/vim
/home/alyhne/.bashrc"
> > + ".bash_profile" Exec "xterm -e /usr/local/bin/vim
> > /home/alyhne/.bash_profile"
>
> If this is all thie script prints it can't work. You have to
> define a menu first to which the menu entries are added.
> Otherwise the lines may be added to a random menu or even a
> fucntion. Try to replace the first '+' with
> "AddToMenu <menuname>".
After changing this it all worked for me with the command:
DestroyMenu MenuDotFiles
AddToMenu MenuDotFiles
+ DynamicPopUpAction PipeRead "$HOME/.fvwm/bin/fvwm-menu-dotfiles.pl
MenuDotFiles"
and having the first line of output to the PipeRead command contain the
line:
DestroyMenu recreate "MyMenu"
Thanks!
> I may add --only-hidden option to fvwm-menu-directory if you like.
I think it is nice to call scripts to do stuff like that,... a matter of
preference i guess
Anders
--
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 Mar 06 2002 - 03:43:13 GMT