On 6/11/06, Michelle Konzack <[EMAIL PROTECTED]> wrote:
Am 2006-06-08 20:04:53, schrieb Jonathan Kotta:
> Do you have to so many different submenus?  Why can't you have a few
> large menus?

Because I have to search my desired servers in a list of around 2700.

I am Debian GNU/Linux Consultant and have for each client a submenu1
where I can select the desired Server which open a new submenu2 where
I can choose from actions...

> The first thing I can think of is that who wants to look through 400
> menus?  Maybe 400 little scripts and shell completion are a better way
> to work.  Maybe you can have a directory of all the scripts and use
> fvwm-menu-directory to auto-generate the menus.  It has a menu style
> option.

I want to have all on X and not the console...
Specialy if I am not there and I have someone which replace me.

I have allready tonns of scripts to make my life easier, but do
not believe other Admins like to use around 300 different scripts
and tools on the console...


OK, I can see why you might want to do this with so many menus.

> You could have a file that contains a list of all the menu names, and
> do something like:
>
> PipeRead 'for menu in `cat menu_name_list` ; do echo ChangeMenuStyle
> menu_style $menu ; done'

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.

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.

> Just throwing some ideas out there.

Greetings
    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)




--
Thanks,

Jonathan Kotta

Hofstadter's Law:
   It always takes longer than you expect, even
   when you take into account Hofstadter's Law.

Reply via email to