:: Re: [DNG] UMENU (v2)
Startseite
Nachricht löschen
Nachricht beantworten
Autor: aitor_czr
Datum:  
To: dng
Betreff: Re: [DNG] UMENU (v2)

Hi Steve,


On 08/04/2016 11:32 PM, Steve Litt <slitt@???> wrote:
> The only ways I can think of to run single menus off the entire menu
> system config is either:
>
> 1) Keep the entire config in a directory/file tree, or


Good :)

> 2) Keep the entire config in a quickly queryable database, hence the
>     question about Mongodb.


[skip]

> 3) Keep some vestige of UMENU running at all times (and I don't like
>     that).


Horrible... Worse than systemd :)


I'm not sure, but i think that the lxlauncher in Lxde works by the
following way:

1) The user clicks the launcher and then the menu appears inmediately
because no calculate is needed during the proccess: all the information
is taken from a database in plain text (lxmenu-data).

2) After that, lxlauncher calcutates the new menu-data (1 2 3...
seconds) during which the user will search the hipotetical
recently-installed application, and compares the resulting data with the
initial data, changingsubsequently the content of the database.

3) If something has changed, the menu is killed (i have found this
behavior in Lxde). Then, the user will have to click again and, this
time, the new application will appear in the menu. This delay will
happen only after installing/unintalling some stuff; so, it will not
irritate to the user.

HTH,

Aitor.