Hello Jonathan,
Am 2006-06-11 12:58:48, schrieb Jonathan Kotta:
> OK, I can see why you might want to do this with so many menus.
;-)
> >Ahh, you mean including in the start/init function ore something
> >like this? Or just after the creation of the menus, which is done
> >with PipeRead and a script, which get the infos from a PostgreSQL.
>
> I was thinking run the for loop once, to set the styles of your
> (assumed) statically configured menus. If your menus are statically
> generated, this is probably the easiest thing to do.
Most right, because the submenus to each servers have Items like "SSH"
or "CHECKSERVER" which run scripts remotly for administration.
So, I was thinking, to pull out the Items from my client database.
I have tried something while using PipeRead and after each menu
i pull out the "ChangeMenuStyle"...
;-)
Now it works like expected...
> A different approach that might scale better and be easier to maintain
> is some type of dynamic menu generation, either with PipeRead as you
> describe, or fvwm-menu-directory as I vaguely described before.
Realy nice Perl script... not what I need here, but I have a diffent
use for it...
Thanks for your Help
Michelle Konzack
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)