Hi Steve,

On 29/01/18 08:05, Steve Litt wrote:
Hi Aitor,

I skimmed your source, and also the source of menu-cache.h, which I
found on the net someplace. I couldn't figure out the structure by
which your menu hierarchy is stored on the hard disk. Do you have any
documentation about configuring popupmenu's menu hierarchy?

Does popupmenu's menu hierarchy get updated every time someone installs
a new application? That would be a cool thing to add to UMENU2, but I
have no idea how to do it.

Does popupmenu have, or will it have, a mode by which someone can
modify the menu hierarchy or add/delete/change menu items via an
intuitive form that asks for and acquires user input? That's something
UMENU2 doesn't have yet.

You mentioned that part of popupmenu isn't as fast as you'd like
(presumably slower than the user can type/mouse). Does popupmenu run
anew everytime someone clicks on the start button? I'm pretty sure any
time consumption at all comparable to human typing speed involves
reading from the hard disk. In UMENU Classic I solved this by busting
the hierarchy file into individual single menu files. It was a mess.
UMENU2 puts the entire hierarchy in a directory tree, so the entirety
of the requested menu's information is contained in the direct
subdirectories of that menu entry's directory. Which makes it lightning
fast. Maybe you can do something like UMENU Classic or UMENU2, or
perhaps create an index file to point at specific menus within the
hierarchy. Or maybe the code in menu-cache.h/menu-cache.c is meant to
address this problem.

Menus are fun, aren't they?

SteveT

I'm a bit confused about umenu. You talk about two (different?) projects in troubleshooters.com: dmenu and umenu. Are they the same? I thought that umenu was developed in python, but seems to be written in perl, isn't it?

BTW, there are two threads dedicated to dynamic menus in the forum of bunsenlabs (if you want to follow them):

https://forums.bunsenlabs.org/viewtopic.php?id=3387
https://forums.bunsenlabs.org/viewtopic.php?pid=69755#p69755

Cheers,

  Aitor.


_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to